help-octave
[Top][All Lists]
Advanced

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

Re: How to print (i.e., save to a file) just the plot you want, out of s


From: c.
Subject: Re: How to print (i.e., save to a file) just the plot you want, out of several?
Date: Tue, 12 Jun 2012 14:08:39 +0200

On 12 Jun 2012, at 14:05, Mark Lytle wrote:

> To all,
> 
> I have an Octave program that outputs 5 plots labelled figure 1 through 
> figure 5.  If i want to save figure 3 to a .png file, how do I do it?   I've 
> tried deleting all of the plots from the workspace but the one I want, but 
> even then, executing:
> print("figure3.png", "-dpng");
> 
> retrieves the last figure (figure 5) from somewhere (though I deleted it 
> first), and ignores my meaning, that is, to print just figure 3.  How do I do 
> this?
> 

figure (3);
print ("figure3.png", "-dpng");

> Thanks,
> Mark Lytle
> Houston
c.

reply via email to

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