|
From: | Ben Abbott |
Subject: | Re: printing plots in 3.2.2 |
Date: | Tue, 04 Aug 2009 19:13:31 -0400 |
On Aug 4, 2009, at 8:42 AM, Dmitri A. Sergatskov wrote:
On Tue, Aug 4, 2009 at 6:30 AM, Ben Abbott<address@hidden> wrote:The scaling down of fonts is done by gnuplot. It should be possible tocompensate and have octave double the point size of all fonts for eps-output, but I don't have the time right now.Gnuplot scales down entire picture. I.e. if you do in gnuplot plot sin(x) set term post set out "testpost.ps" replot set term post eps set out "testeps.eps" replot The result will look the same if your postscript viewer scale the picture to the same size (like, say, full-screen). This is not the case if I do something like that in octave. It appears to me the size of the picture gets enlarged w/o changing size of the font. Then gnuplot scale down everything and fonts become very small. The easiest fix -- do not use "eps" option to gnuplot postscript terminal.
Octave sets the size of the gnuplot canvas when it sets the terminal. The result is that only the fontsize for eps output scales down.
I like the idea of generating a ps file and using it in place of eps (that solves the font size problem). I'll experiment with that to make sure there are not problems I haven't thought of.
<snip>
But I do not understand, why are you arguing with me. Are you NOT seeing theseproblems?
Sorry, it is not my intent to argue. I've been in a rush for several weeks ... perhaps I should slow down and explain more.
The changes between 3.0.x and 3.2.x were to improve compatibility with Matlab.
Regarding what I see ...(1) The ps output is not always properly centered, but I've not yet determine why.
(2) The eps output size is correct, but the fontsize is half what it should be.
(3) The axis labels often crop. This is due to changes which favor the axes position property of the outerposition property.
What I'd like to see ... (1) the ps figure should be centered on the page (with default settings) (2) The eps output should render the same fonts size as the ps output.(3) Listeners should reconcile the position/outerposition/tightinset/ activepositionproperty properties, and would avoid cropping the axes labels when the activepositionproperty == "outerposition".
Until the listener in (3) are in place, I thought it easier to tweak the axes' position property to get the desired result, than the outer position property. In addition, the ability to explicitly set the axes' position is needed for the plotyy, subplot, and colorbar functions.
Ben
[Prev in Thread] | Current Thread | [Next in Thread] |