help-octave
[Top][All Lists]
Advanced

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

Re: resolution of output plot


From: Dmitri A. Sergatskov
Subject: Re: resolution of output plot
Date: Fri, 10 Sep 2004 17:02:54 -0600
User-agent: Mozilla Thunderbird 0.7.3 (X11/20040803)

Matt Funk wrote:
hi,

i was wondering of there is any way of changing the resolution of the output plot in octave. I am writing directly to a jpeg/png file . when i "gset size 2.0" the plot is bigger but looks horrible.

Unless you get octave do something like automatically generate plots for
a webpage, you should not use png (and _never_ jpeg) for your graphs.
You should try to stay with vector format (like postscript or fig)
as long as possible. BTW, it all has nothing to do with octave per se,
but rather with gnuplot. You may want to read http://gnuplot.info/faq/faq.html
for more info. If you still have to get png directly from octave, you may
want to make sure you have the latest gnuplot. The png support is much better in
the gnuplot 4.0.


i guess i can't seem to be able to write a nice crisp graph straight to a jpeg/png file. It is always a little blurred.

One thing to have in mind here is that screen resolution typically is 75 to 100 
dpi,
while print is 600 dpi. So the bitmap that looks good in printing will not fit 
on your
screen. The vector image will be rasterized for each output media with the
appropriate resolution and will look good on either one.

...

thanks
mat


Regards,

Dmitri.



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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