[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -dpng gives "invalid command"
From: |
Ben Abbott |
Subject: |
Re: -dpng gives "invalid command" |
Date: |
Fri, 10 Jul 2009 13:56:56 -0400 |
On Friday, July 10, 2009, at 12:37PM, "John B. Thoo" <address@hidden> wrote:
>Hi, everyone.
>
>I can save a plot to EPS by
>
> print ("foo.eps", "-deps")
>
>but when I try to save a plot to PNG by
>
> print ("foo.png", "-dpng")
>
>I get a run of errors like
>
>
>gnuplot> e
> ^
> line 0: invalid command
>
>
>and no plot is saved.
>
>What am I doing wrongly?
>
>I'm using Octave 3.0.5 and gnuplot 4.2 patchlevel 5 in an X11 xterm
>window in Mac OS X 10.4.11.
>
>Thanks.
>
I have no problem producing png output with 3.2 and gnuplot 4.2.5.
Can you run gnuplot and try ...
set term png
set output foo.png
plot sin(x)
quit
Do you still get the error?
Ben
- -dpng gives "invalid command", John B. Thoo, 2009/07/10
- Re: -dpng gives "invalid command",
Ben Abbott <=
- Re: -dpng gives "invalid command", John B. Thoo, 2009/07/10
- Re: -dpng gives "invalid command", Thomas Treichl, 2009/07/10
- Re: -dpng gives "invalid command", John B. Thoo, 2009/07/10
- Re: -dpng gives "invalid command", Thomas Treichl, 2009/07/10
- Re: -dpng gives "invalid command", John B. Thoo, 2009/07/10
- Re: -dpng gives "invalid command", Thomas Treichl, 2009/07/10
- Re: -dpng gives "invalid command", John B. Thoo, 2009/07/10
- Re: -dpng gives "invalid command", Thomas Treichl, 2009/07/10
- Re: -dpng gives "invalid command", John B. Thoo, 2009/07/14
- Re: -dpng gives "invalid command", Thomas Treichl, 2009/07/14