Closed chelseas closed 3 years ago
e.g. like
Axis(...., other_plot_options="xtick=data, ytick=data")
It would be Axis(..., style="xtick=data")
.
thanks! hm....only seems to put ticks for the first line in the plot....
Apparently, when you use xtick=data, only the first \addplot command is used to determine the tick positions.
You probably have to set the tick labels manually, ie xtick={10,30,40}
etc.
I ended up specifying:
xtickten={1,2,3}
which actually brought back the x-axis minor tick lines, which I liked.
I want to be able to use this pgfplots option: https://tex.stackexchange.com/questions/47345/specify-the-step-of-pgfplots-axis
xtick=data
is there a hack i can use to make this happen?