help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: printing multiple plots to a file


From: Bhaskar Ramamurthy
Subject: RE: printing multiple plots to a file
Date: Tue, 26 Jul 2005 14:34:06 -0700

Could you explain how to set the terminal and the output file please? These
must by gnuplot commands. Thanks for your help
Bram

-----Original Message-----
From: Dmitri A. Sergatskov [mailto:address@hidden 
Sent: Tuesday, July 26, 2005 2:22 PM
To: Bhaskar Ramamurthy
Subject: Re: printing multiple plots to a file

Bhaskar Ramamurthy wrote:
> Hi 
> 
> Is there a way to print multiple plots to a file? This is what I get if I
> try:
> 
> *       subplot(211)
> 
> *       plot(1:5, 1:5)
> 
> *       subplot(212)
> 
> *       plot(1:5, 1:5)
> 
> *       print('testfile.fig','-dfig')
> 
> gnuplot>set terminal push;
> 
>         line 0: You can't change the terminal in multiplot mode
> 

You have to set the terminal and the output file first.
The best way is to write all plotting commands in a
script, then, when everything looks good on a screen
re-run the script after a change to another terminal.

This is a gnuplot limitation / feature.

> 
> Printing single plots to a file works great.
> 
> Thanks
> 
> Bram
> 
> 

Regards,

Dmitri.
-- 




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]