Hi,
in gnuplot, you would use
set xtics ("apples" 1, "pears" 2, "tomato" 3)
with gnuplot_set you can do the same in octave:
__gnuplot_set__('xtics ("apples" 1, "pears" 2, "tomatoes" 3)')
plot([1, 2, 3], [10 20 5]);
regards
Thorsten Meyer
Hi!
Try the functions tics from octave-forge:
tics(axis,[pos1,pos2,...],['lab1';'lab2';...])
Explicitly set the tic positions and labels for the given axis.
...
tics is the user-defined function from the file
/usr/share/octave/2.9.9/site/m/octave-forge/plot/tics.m
Pete