help-octave
[Top][All Lists]
Advanced

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

Re: saving a plot


From: Mariano Wis
Subject: Re: saving a plot
Date: Sun, 6 Jun 2004 04:32:10 +0200

You should use the gset command.
 
This command is the same as doing sets in the gnuplot. As an example, see this example:
 
...
gset terminal postcript enhanced landscape; % Set the output type to postcript
gset output "unit:/path/filename.eps"; % Set the output file.
 
%% From this point, every plot command is directed to the defined file....
....
axis(...);
title('...');
plot(......);
 
%% Once the plot has been finished, redirect a new plot to another file
 
gset output "unit:/path/filename_2.eps"; % Set the second output file.
....
axis(...);
title('...');
plot(......);
 
%% When all plots are ended, set the terminal to the standard one...
%% ... and set the output file to the standard output
 
gset output STDOUT;
gset output;
 
gset terminal windows;
 
I hope you will find this useful
 
Mariano Wis
 
 
----- Original Message -----
Sent: Friday, June 04, 2004 6:58 PM
Subject: saving a plot

Does anybody know how to save a plot? can´t find it on the online manual... I don´t mind if it´s saved as png, jpg, gif, or wathever format as long as it can be read form OpenOffice
 
thanks
 



Nuevo Yahoo! Búsquedas

 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.692 / Virus Database: 453 - Release Date: 28.05.2004

reply via email to

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