[scilab-Users] Re: tics
Adrien Vogt-Schilb
vogt at centre-cired.fr
Mon Feb 27 15:36:45 CET 2012
On 27/02/2012 15:34, grivet wrote:
> Thank you Adrien, your hint is just what was needed:
>
> ticx = 0:1:5; ticxl = string(ticx);
> .....
> temp = a.x_ticks;
> temp.locations=ticx;
> temp.labels=ticxl;
> a.x_ticks = temp;
>
> works like a charm; however, the tlist doesn't work for me:
>
> a.x_ticks=tlist(["ticks""locations""labels"],ticx,ticxl);
>
hi
it appears you forgot spaces or commas, try one of these:
tlist(["ticks" "locations" "labels"],ticx,ticxl);
tlist(["ticks" , "locations" , "labels"],ticx,ticxl);
> leads to
>
> a.x_ticks=tlist(["ticks""locations""labels"],ticx,ticxl);
> !--error 144
> Opération non définie pour les opérandes données
> .
> Are there constraints on the vectors ticx and ticxl?
>
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120227/67cd5169/attachment.htm>
More information about the users
mailing list