|
From: Dr. A. G. <ag...@fi...> - 2016-02-19 03:24:09
|
Hi, I hope somebody can help. It would be much appreciated. I was using the script below, which was working perfectly on my Mac with an older operating system (I think it was Tiger) and with gnuplot 4.2 I think. About 2 years ago I erased everything and installed the OS X 10.8 (Mountain Lion) and then installed gnuplot 4.6. When I try to load the script, it sends the following message: "plotdelaunay_symbols_keys_2", line 20: ';' expected and the prompt remains in multiplot> The line 20 is just one line before where the second plot command starts inside multiplot. Can anybody help? Thank you very much in advance. Agustin ------------------------------------------------------------ set term post eps enhanced color "Times-Roman" 24 set output "diagram.delaunayeps.keys.9001_2.eps" set key outside title set xrange [0000.0:0750.0] set yrange [0000.0:0750.0] set size square 1.0,1.0 # set multiplot plot 'data3' u 1:2 w p pt 13 ps 0.187 notitle, \ 'data4' u 1:2 w p pt 05 ps 0.150 notitle, \ 'data5' u 1:2 w p pt 11 ps 0.200 notitle, \ 'data6' u 1:2 w p pt 07 ps 0.128 notitle, \ 'data7' u 1:2 w p pt 09 ps 0.200 notitle, \ 'data8ch' u 1:2 w p pt 01 ps 0.00001 notitle, \ 'data8' u 1:2 w p pt 38 ps 0.001 notitle, \ 'data9' u 1:2 w p pt 35 ps 0.001 notitle, \ 'data10' u 1:2 w p pt 41 ps 0.001 notitle, \ 'data11' u 1:2 w p pt 44 ps 0.001 notitle, \ 'data12' u 1:2 w p pt 13 ps 0.220 notitle, \ 'comput_plot' u 1:2 w lines lt 1 lw 5.080 notitle plot 'datkey3' u 1:2 w p pt 13 ps 3.00 title "3", \ 'datkey4' u 1:2 w p pt 05 ps 3.00 title "4", \ 'datkey5' u 1:2 w p pt 11 ps 3.00 title "5", \ 'datkey6' u 1:2 w p pt 07 ps 3.00 title "6", \ 'datkey7' u 1:2 w p pt 09 ps 3.00 title "7", \ 'data8ch' u 1:2 w p pt 01 ps 0.00001 notitle, \ 'datkey8' u 1:2 w p pt 38 ps 3.00 title "8", \ 'datkey9' u 1:2 w p pt 35 ps 3.00 title "9", \ 'datkey10' u 1:2 w p pt 41 ps 3.00 title "10", \ 'datkey11' u 1:2 w p pt 44 ps 3.00 title "11", \ 'datkey12' u 1:2 w p pt 13 ps 3.00 title "12" unset multiplot ---------------------------------------------------------- -- Open WebMail Project (http://openwebmail.org) ------- End of Forwarded Message ------- -- Open WebMail Project (http://openwebmail.org) |
|
From: Peter S. <p.s...@me...> - 2016-02-19 07:11:39
|
Hi Agustin Have you checked that the line breaks in your script and in your operating system match? Maybe your new OS uses a different convention. Regards Peter -- Meier und Partner AG Freiestrasse 26<x-apple-data-detectors://1/0> 8570 Weinfelden<x-apple-data-detectors://1/0> www.meierpartner.ch<http://www.meierpartner.ch/> T +41 71 626 5115<tel:+41%2071%20626%205115> Am 19.02.2016 um 04:30 schrieb "Dr. Agustin Gonzalez" <ag...@fi...<mailto:ag...@fi...>>: Hi, I hope somebody can help. It would be much appreciated. I was using the script below, which was working perfectly on my Mac with an older operating system (I think it was Tiger) and with gnuplot 4.2 I think. About 2 years ago I erased everything and installed the OS X 10.8 (Mountain Lion) and then installed gnuplot 4.6. When I try to load the script, it sends the following message: "plotdelaunay_symbols_keys_2", line 20: ';' expected and the prompt remains in multiplot> The line 20 is just one line before where the second plot command starts inside multiplot. Can anybody help? Thank you very much in advance. Agustin ------------------------------------------------------------ set term post eps enhanced color "Times-Roman" 24 set output "diagram.delaunayeps.keys.9001_2.eps" set key outside title set xrange [0000.0:0750.0] set yrange [0000.0:0750.0] set size square 1.0,1.0 # set multiplot plot 'data3' u 1:2 w p pt 13 ps 0.187 notitle, \ 'data4' u 1:2 w p pt 05 ps 0.150 notitle, \ 'data5' u 1:2 w p pt 11 ps 0.200 notitle, \ 'data6' u 1:2 w p pt 07 ps 0.128 notitle, \ 'data7' u 1:2 w p pt 09 ps 0.200 notitle, \ 'data8ch' u 1:2 w p pt 01 ps 0.00001 notitle, \ 'data8' u 1:2 w p pt 38 ps 0.001 notitle, \ 'data9' u 1:2 w p pt 35 ps 0.001 notitle, \ 'data10' u 1:2 w p pt 41 ps 0.001 notitle, \ 'data11' u 1:2 w p pt 44 ps 0.001 notitle, \ 'data12' u 1:2 w p pt 13 ps 0.220 notitle, \ 'comput_plot' u 1:2 w lines lt 1 lw 5.080 notitle plot 'datkey3' u 1:2 w p pt 13 ps 3.00 title "3", \ 'datkey4' u 1:2 w p pt 05 ps 3.00 title "4", \ 'datkey5' u 1:2 w p pt 11 ps 3.00 title "5", \ 'datkey6' u 1:2 w p pt 07 ps 3.00 title "6", \ 'datkey7' u 1:2 w p pt 09 ps 3.00 title "7", \ 'data8ch' u 1:2 w p pt 01 ps 0.00001 notitle, \ 'datkey8' u 1:2 w p pt 38 ps 3.00 title "8", \ 'datkey9' u 1:2 w p pt 35 ps 3.00 title "9", \ 'datkey10' u 1:2 w p pt 41 ps 3.00 title "10", \ 'datkey11' u 1:2 w p pt 44 ps 3.00 title "11", \ 'datkey12' u 1:2 w p pt 13 ps 3.00 title "12" unset multiplot ---------------------------------------------------------- -- Open WebMail Project (http://openwebmail.org) ------- End of Forwarded Message ------- -- Open WebMail Project (http://openwebmail.org) ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ gnuplot-info mailing list gnu...@li...<mailto:gnu...@li...> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2016-02-19 22:36:31
|
Am 19.02.2016 um 04:26 schrieb Dr. Agustin Gonzalez:
> it sends the following message:
>
> "plotdelaunay_symbols_keys_2", line 20: ';' expected
>
> and the prompt remains in multiplot>
That doesn't mean that you have a "problem with multiplot", though.
And indeed multiplot has nothing to do with it.
Removing all parts of your script that still leave the problem intact,
one arrives at something like this:
gnuplot> p x w p pt 09
^
';' expected
The problem is that you accidentally created an ill-formed octal number.
gnuplot's syntax is like C in many respects; up to and including
hexadecimal and octal integer constants. So lose the leading zeroes,
and things will work.
|
|
From: Ethan M. <merritt@u.washington.edu> - 2016-02-19 03:50:37
|
On Thursday, 18 February 2016 09:26:06 PM Dr. Agustin Gonzalez wrote: > > Hi, I hope somebody can help. It would be much appreciated. > > I was using the script below, which was working perfectly > on my Mac with an older operating system (I think it was > Tiger) and with gnuplot 4.2 I think. About 2 years ago I > erased everything and installed the OS X 10.8 (Mountain Lion) > and then installed gnuplot 4.6. When I try to load the script, > it sends the following message: > > "plotdelaunay_symbols_keys_2", line 20: ';' expected > > and the prompt remains in multiplot> > > The line 20 is just one line before where the second > plot command starts inside multiplot. > > Can anybody help? Thank you very much in advance. Does the same plot command work if it is not inside a multiplot? [aside] Why would you want multiplot for this? Since your script does not manipulate origin/offset parameters the two plot commands will end up on top of each other, in which case you might as well use a single plot command. > > Agustin > > ------------------------------------------------------------ > set term post eps enhanced color "Times-Roman" 24 > set output "diagram.delaunayeps.keys.9001_2.eps" > set key outside title > set xrange [0000.0:0750.0] > set yrange [0000.0:0750.0] > set size square 1.0,1.0 > # > set multiplot > plot 'data3' u 1:2 w p pt 13 ps 0.187 notitle, \ > 'data4' u 1:2 w p pt 05 ps 0.150 notitle, \ > 'data5' u 1:2 w p pt 11 ps 0.200 notitle, \ > 'data6' u 1:2 w p pt 07 ps 0.128 notitle, \ > 'data7' u 1:2 w p pt 09 ps 0.200 notitle, \ > 'data8ch' u 1:2 w p pt 01 ps 0.00001 notitle, \ > 'data8' u 1:2 w p pt 38 ps 0.001 notitle, \ > 'data9' u 1:2 w p pt 35 ps 0.001 notitle, \ > 'data10' u 1:2 w p pt 41 ps 0.001 notitle, \ > 'data11' u 1:2 w p pt 44 ps 0.001 notitle, \ > 'data12' u 1:2 w p pt 13 ps 0.220 notitle, \ > 'comput_plot' u 1:2 w lines lt 1 lw 5.080 notitle > plot 'datkey3' u 1:2 w p pt 13 ps 3.00 title "3", \ > 'datkey4' u 1:2 w p pt 05 ps 3.00 title "4", \ > 'datkey5' u 1:2 w p pt 11 ps 3.00 title "5", \ > 'datkey6' u 1:2 w p pt 07 ps 3.00 title "6", \ > 'datkey7' u 1:2 w p pt 09 ps 3.00 title "7", \ > 'data8ch' u 1:2 w p pt 01 ps 0.00001 notitle, \ > 'datkey8' u 1:2 w p pt 38 ps 3.00 title "8", \ > 'datkey9' u 1:2 w p pt 35 ps 3.00 title "9", \ > 'datkey10' u 1:2 w p pt 41 ps 3.00 title "10", \ > 'datkey11' u 1:2 w p pt 44 ps 3.00 title "11", \ > 'datkey12' u 1:2 w p pt 13 ps 3.00 title "12" > unset multiplot > ---------------------------------------------------------- > > -- > Open WebMail Project (http://openwebmail.org) > ------- End of Forwarded Message ------- > > > -- > Open WebMail Project (http://openwebmail.org) > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info -- mail: Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |