help-octave
[Top][All Lists]
Advanced

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

Re: figures after print command never look good


From: Ben Abbott
Subject: Re: figures after print command never look good
Date: Sun, 21 Oct 2012 09:41:56 -0400

On Oct 21, 2012, at 6:33 AM, marasolc wrote:

> Hi,
> 
> I'm able to set the figure and axes properties by set(gca...) so that after
> calling the plot command the figure looks fine. However, I have never
> managed to produce such a nice figure by print('fig.png','-dpng'...)
> command. The saved figures simply look bad - when I use appropriate
> fontsize, then the tickslabels, xlabels and legend are messed up
> (overlapping or at bad position...). The problem appears not only for png
> terminal, but for any other terminal which I tried (eps, jpg, svg...).
> 
> Is there any way how to save the figure in the form how it appears after
> calling the plot command?
> 
> I'm running Octave 3.2.4 on Win7, but I experience the same problems with
> Octave 3.6.1. I prefer not to upgrade at the moment.
> 
> Thanks a lot,
> Marek Scholz

There were some fontsize problems with Octave 3.2.x that have been fixed in 
3.6.x.

For 3.6.x, the bitmaps are created from eps-files using ghostscript.  Thus, if 
you see a problem with one, it will be present in all.

For Octave 3.6.x, the positioning of the labels can vary with the 
graphcis_toolkit being used.  To see which toolkit you are using type 
"graphics_toolkit" at Octaves prompt.

If you provide a simple script illustrating the problem, we can either (1) find 
a solution, (2) find a work around, (3) or help you file a bug report.

Ben



reply via email to

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