Hello,

Le 04/10/2017 à 11:16, Heinz Nabielek a écrit :
Monte-Carlo simulating blood types in Austria was easy in Scilab, but I do not 
manage to show text labels along the x-axis. Text would be:
blood=['0+'     'A+'    'B+'    'AB+'   '0-'    'A-'    'B-'    'AB-']
and the diagram should look similar to my attached EXCEL.

To change the axes labels (and location) see "axes properties". For exemple

x=1:8;
p=[0.3  0.37    0.12    0.05    0.06    0.07    0.02    0.01];
blood=['0+'     'A+'    'B+'    'AB+'   '0-'    'A-'    'B-'    'AB-'];
scf(0);clf(0),plot(x,p,'-*b')
f=gca();
f.x_ticks=tlist(["ticks" "locations", "labels"],x,blood);


Jean-Yves
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to