[Scilab-users] labels for 2 y-axes in plot

Erhy erhard.glueck.austria at gmail.com
Thu Mar 2 22:44:08 CET 2017


I'm a step forward.
Only the colors of the labels and of the X-axis should to be adapted.

Please send me an URL of your suggested help pages.

<http://mailinglists.scilab.org/file/n4035674/two_X-axes_with_labels_V2.png> 
The code now is:
clf
c1=color("blue");
na1=newaxes();
na1.font_color=c1;
plot( koeffXs(1:$-1),FnormchangedXRSDif(1:$-1),style=c1);
na1.children(1).children(1).foreground=c1;
xtitle("", "multiplier", "deviation")
// second curve
c2=color("red");
na2=newaxes();
na2.font_color=c2;
plot( koeffXs(1:$-1), DifDeriv ,style=c2);
na2.filled="off";
na2.axes_visible(1)="off";
na2.y_location="right";
na2.children(1).children(1).thickness=2;// 
na2.children(1).children(1).foreground=c2;
xtitle("", "", "corrective")



--
View this message in context: http://mailinglists.scilab.org/labels-for-2-y-axes-in-plot-tp4035658p4035674.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list