JLan wrote > Using the [a1 a2] handles afterwards was not quite successful for me.
This worked fine for me: [a1,a2]=plotyy(t,uL2,i3) legend(a1,"uL2",2); legend(a2,"i3",1); ylabel(a1,'Spannung, u in V','fontsize',3); xlabel(a2,'Zeit, t in s','fontsize',3); ylabel(a1,'Strom, i in A','fontsize',3); Also see my example at Twitter <https://twitter.com/LehrstuhlEMV/status/846635089882701824> . JLan wrote > What about adding some optional labels in the function? This is for sure a solution, but I try to avoid having a function with an unreasonable high number of input arguments if there are more flexible solutions. -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Plots-on-second-Y-axis-tp4025895p4036078.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users