help-octave
[Top][All Lists]
Advanced

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

Re: saving plots to files


From: Shai Ayal
Subject: Re: saving plots to files
Date: Fri, 11 Aug 2006 16:19:53 +0300
User-agent: Thunderbird 2.0a1 (Windows/20060724)

Hi

For someone to try to help you in a more intelligent way, Please add at least the following info:
1) OS, octave version, how you got it (compile from source, binary ?)
2) a short snippet of code showing what exactly didn't work e.g does this help:

plot(1:10);
print -dpng file.png

Shai

Lapi, Vincent J, ALABS wrote:
Hi,

Can anyone help me with the exact syntax for saving plots to files and the file format options that are available under Octave for this purpose?

I ran "print -dpng file.png" and I get a .png file but it is of size zero i.e., nothing in it. I ran "print -deps file.eps and I get a file size 16 KB, but I don't have any application on my machine that can open this file type. So I tried "print -jpg file.jpg" to see if the JPEG format would work, but Octave gave me an error for this one. Do you know of any commonly used graphics file formats that might work. You commands seem to be the correct way, but I am not quite there yet.

Thanks,

vlapi


------------------------------------------------------------------------

_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave



reply via email to

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