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,
[email protected]
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users