Smart solution from Rafael Guera, I actually needed the same .
Here an inspired alternative with plot(), that also gets the colors correct (on white background):
x=1:0.1:6; y1=sin(x); y2=cos(x); str="This is a very long legend. Vive la France"; str1= part(str,1:27); str2= part(str,28:$); strb="Another very long legend. Vive la France"; str1b= part(strb,1:27); str2b= part(strb,28:$); clf(); f=gcf(); replot([1 6 ;-1.5 2]); plot(x,y1,"..r",x,y1,"..w",x,y2,"g",x,y2,"w",x,y1,"..r",x,y2,"g"); legend(str1,str2,str1b,str2b); JÅ On 14.11.2015 12:36, fujimoto2005 wrote:
Hello Rafael Guera This is a great solution!! Thanks a lot. Best regards -- View this message in context: http://mailinglists.scilab.org/long-legend-tp4033087p4033090.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
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users