help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text labels on plot axis?


From: Peter Gustafson
Subject: Re: Text labels on plot axis?
Date: Fri, 16 Mar 2007 17:32:20 -0400
User-agent: Thunderbird 1.5.0.10 (X11/20070304)

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




Thorsten Meyer wrote:
> 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
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>   



reply via email to

[Prev in Thread] Current Thread [Next in Thread]