[Scilab-users] periodical X-Axis in 2d plot

Samuel Gougeon sgougeon at free.fr
Tue May 12 20:42:23 CEST 2015


Hello,

Le 12/05/2015 18:46, Tim Wescott a écrit :
> On Tue, 2015-05-12 at 06:55 +0200, Philipp Mühlmann wrote:
> .../...
>
> If you look at x_ticks.labels you'll see that it's just a matrix of
> numbers, located as specified in x_ticks.locations (so you can move the
> ticky marks, too).  I did:
>
> -->g.children.x_ticks.labels = ['bob' 'mary' 'ralph' 'sue' 'yassar'
> 'george' 'jean' 'osama' 'francis' 'molly']';
Let's be aware that this syntax is possible only if the number of major 
ticks is unchanged.
For the general case, the processing is fully documented in
help axes_properties // 
http://help.scilab.org/docs/5.5.2/en_US/axes_properties.html
in the section "x_ticks, y_ticks, z_ticks".

Samuel




More information about the users mailing list