[Scilab-users] Plots with non numeric abscissa argument
Serge Steer
Serge.Steer at inria.fr
Wed Oct 24 14:39:34 CEST 2012
Here is the solution
x=1:3;y=[5 3 10];bar(x,y)
a=gca();
a.x_ticks.labels=["John","Mary","Victor"];
a.y_label.text="marbles";
Serge Steer
Le 24/10/2012 03:31, plc814 a écrit :
> Hello,
>
> Been searching the literature and have been having a most difficult
> time finding a way to plot data vs. a non numerical argument. Simple
> example would be number of marbles vs. individual by name. In my case,
> I'm trying to plot a communications chain analysis parameters at
> certain points in the system chain. Would like to supply the x-axis
> argument as text. Using the simple example mentioned, it would be:
>
> John - 5 marbles
> Mary - 3 marbles
> Victor - 10 marbles
> ... etc.
>
> A natural chart would be a bar or stepped chart.
>
> best regards,
> plc814 at gmail.com
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list