[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnuplot errors?
From: |
Ben Abbott |
Subject: |
Re: Gnuplot errors? |
Date: |
Thu, 22 Jul 2010 07:51:33 -0400 |
On Jul 22, 2010, at 4:50 AM, Matthias Brennwald wrote:
> Dear all
>
> I wrote a script to produce figures containing a few subplots. The script
> sometimes works as intended, but very often results in errors like this:
>
> --------------------------------------
> gnuplot> nset multiplot;
> ^
> line 0: invalid command
>
>
> gnuplot> nset multiplot;
> ^
> line 0: invalid command
>
> warning: division by zero
>
> gnuplot> nset multiplot;
> ^
> line 0: invalid command
> --------------------------------------
>
> Any ideas what I am doing wrong?
>
> My set up is as follows:
> - Mac OS X 10.6
> - Octave 3.2.4 from Macports
> - Gnuplot 4.4 patchlevel 0 from Macports
>
> Matthias
I'd try appending a "\n" to the puts() command that sends that to gnuplot.
puts (plot_stream, "\nunset multiplot;\n");
However, I'm not sure where this command is for 3.2.4. For the developers
sources it is in __go_draw_figure__.m
Ben