This is for all versions of gnuplot starting with 4.2 running on linux. I only tested only RHEL 5.3 but suspect it's not linux version dependent.
I normally put my legends outside the plot with the following statement:
set key top right outside Right samplen 1 spacing 1.0
and can set the width as wide as I like with commands like
set size 2,0.3
however if I try this with any version of gnuplot >= 4.2, including 4.3, the legend disappears! Setting it back to 1.0 makes the legend show up again. This also seems to effect the right-hand Y-Axis on V4.3 as well but it shows up correctly with V4.2.
This striked me a pretty serious because it prevents one from zooming into png files that are display via a web browser, and probably other visulaization tools as well.
This is expected behaviour.
For some terminal drivers, the meaning and use of the "set size" command changed starting with version 4.2. This was because prior to that time the behaviour of various terminal types were inconsistent with each other. Starting with 4.2 all terminals were brought into conformity. As you discovered, PNG is one of the terminals for which this meant a change from earlier versions.
See "help canvas", and "help set size".
In a nutshell: The canvas available for drawing runs from 0 to 1. If you draw "outside the box" then the program will try to clip it. Not all terminal types make it easy to clip perfectly, but we try.
As to zooming, I do not follow what you are saying. The content of a png image should be unaffected by zooming, right?
As per my comment to the other bug report I entered I think I now get it. My reference to 'zooming' was probabaly a poor choice of terms, but what I was trying to say is with the older versions of gnuplot I set width to 2 or more effectively doubling the width of the plot and giving the illusion of zooming in. As I said in my other response I now see the correct way to do this with gnuplot 4.2 and greater is to keep the plot size constant and 1,1 and vary the canvas size.
-mark
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).