[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: saving plots to files
From: |
Lapi, Vincent J, ALABS |
Subject: |
RE: saving plots to files |
Date: |
Fri, 11 Aug 2006 09:41:51 -0400 |
Shai Ok,
(1) Windows XP, Octave 2.1.50, from source forge.
(2) The code works but in the case of .png files produces empty files.
In the case of .eps it produces a file type of size but I cannot open
because I do not have the correct applications to open eps file type. I
need to know what file type options are available so that I can try to
produce a file types that I can open.
Thanks,
vlapi
-----Original Message-----
From: Shai Ayal [mailto:address@hidden
Sent: Friday, August 11, 2006 9:20 AM
To: Lapi, Vincent J, ALABS
Cc: address@hidden
Subject: Re: saving plots to files
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
file.eps
Description: file.eps
file.png
Description: file.png