> On Fri, 30 Oct 2009, Alan G Isaac wrote:
> > I'm seeing clipping of the y-axis label in my graphs.
> > Known problem?
On 10/30/2009 2:25 PM, Allin Cottrell wrote:
> I've noticed that in some plots. Perhaps I should file a bug
> report with gnuplot; that's not something that gretl itself
> controls.
On 10/31/2009 9:48 AM, Alan G Isaac wrote:
On the one hand, that makes sense to me.
Otoh, I'm not seeing this behavior in gnuplot...
(I have 4.2.6.)
OK, this *is* at least partly gretl.
Apparently gretl has a short limit on string length
when using setinfo. So part of my ylabel string (which
I was setting with setinfo) is not being passed to
gnuplot. That explains the clipping on the right.
Can you provide a longer string?
But I still sometimes lose a one (?) pixel band
at the very left of the label.
I've checked that the pixels are really missing (that
it's not just a screen resolution issue) by saving the
file as PNG and resizing it. They are missing.
It is also not a font problem bc it happens only at
the beginning of the label. (E.g., I can get rid
of it by adding a space.)
Here is the more puzzling thing. Suppose I see this problem
(missing pixels) in a graph I have saved as a graph obejct.
Now I go to the icon view, pick Edit Plot Commands, and
without changing anything, I run the commands: I do not
see the problem! (Can I be sure this is using the version
of gnuplot that comes with gretl?)
Finally, I uncovered what I consider a bug. (?) If I use
setinfo to set a name, it is used as my ylabel, **even if**
I explicitly set a ylabel. This violates the specificity
principle, which should give priority to the most specific
request (the ylabel I set in a specific graph).
Thanks,
Alan