|
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
--- 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |