|
From: | Maynard Wright |
Subject: | Re: figures after print command never look good |
Date: | Sun, 21 Oct 2012 04:08:37 -0700 |
User-agent: | KMail/1.13.5 (Linux/2.6.35-22-generic; KDE/4.5.5; i686; ; ) |
I'm running Octave under Linux and I use a screen capture program (KSnapshot) to save the images produced by plot. I display the plots full screen before I capture them. I edit the resulting figures with an image editor (Krita in my case), mostly to crop away the Linux artifacts from the top and bottom edges. This may seem a little cumbersome, but it produces nice plots and I've been using it through several versions of Octave. Maynard Wright On Sunday, October 21, 2012 03:33:52 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 > |
[Prev in Thread] | Current Thread | [Next in Thread] |