I have a standard dataset, say:
1,10
2,15
4,20
8,5
Is there any simple way to display tics only for the values in the dataset?
I can manually set them:
set xtics ( 1, 2, 4, 8 );
set ytics ( 5, 10, 15, 20 );
however, this has two side effects:
- I have to manually find all the values;
- for some reason, it removes the margines (compared to autoscaling), so I have to compute them manually (
set offsets graphworks strangely with tics manually set).
Is there any simple way of display the same plot it would be plotted without the set *tics command, with the only difference being the tics printed?
I'm on Gnuplot 5.2.


