When splotting (even in view map mode) it is not possible to have x2ticks
Please execute the attached script
Thanks for the great work
Correct. It is not possible to use the x2 axis in splot.
This is an intrinsic limitation in the way that gnuplot stores data points.
However, there may be other ways to plot what you want.
For example, it may not be necessary to use splot + set view map;
the same plot may be achievable using the ordinary 2D plot command.
Perhaps you could explain what exactly you are trying to show?
Now supported in 4.7
It does not work with gnuplot 5.0.1 (the first plot yes, the second no. there is a pause between the two)
this works as expected
"nox2tics_with_map_splot.plt", line 15: Secondary axis must be linked to primary axis in order to draw tics
Is it a regression ?
The error message is telling you what you need to do in order to get the secondary axis tics.
set link x2; set link y2
You are right, it works, thanks !
I have been mislead by the documentation, which states set link x (the 2 is missing). It made sense since the x2 was linked to x. This is page 135 of the gnuplot 5.0.1 doc.
set link x
"set link x" works also. Same thing.
Indeed, it works for this example. Thanks again.
Just got to figure out why it currently doesn't work with octave.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.