using: gnuplot 4.2 patchlevel 6
I am plotting candlesticks. The first and last data points are, of course, on the left and right Y axis bars. The first and last ca
That's what set offsets
is for: Add some offsets to gnuplots autoscaled range:
Without offsets (this is your case):
$data <
With offsets in x-direction:
$data <
As you can see, you get offsets at the left and right plot margins. However, the margin's size isn't 0.1
in units of the first axis, but the value is rounded to the next auto-generated tic.
To work around this, you can add set autoscale xfix
:
$data <