On Sat, 31 Oct 2009, Alan G Isaac wrote: > Apparently gretl has a short limit on string length > when using setinfo.
32 characters including the terminating NUL. > 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? Will consider. > 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! This is on Windows? The drivers are different in the two cases. The cairo-based driver is used for gretl's PNG plots, but if you send the plot commands to gnuplot that will be using the Windows GDI driver. So if it's a gnuplot problem it looks like it's the pngcairo driver. > (Can I be sure this is using the version > of gnuplot that comes with gretl?) Yes, I think so. > 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). I'd agree that sounds like a bug. Are you setting the ylabel via the GUI, or via extra commands passed to gretl's "gnuplot" command? Allin.
