Hello, Is the solution below OK for you? x=1:0.1:6; y=sin(x'); str="This is a very long legend. Vive la France"; str1= part(str,1:27); str2= part(str,28:$); clf(); f=gcf(); plot2d(x,[y y]); f.children.children.children(2).line_mode = "on"; f.children.children.children(1).line_mode = "off"; legend(str1,str2); Regards, Rafael -----Original Message----- From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Samuel Gougeon Sent: Saturday, November 14, 2015 9:43 AM To: Users mailing list for Scilab <users@lists.scilab.org> Subject: Re: [Scilab-users] long legend Hello, Le 14/11/2015 05:49, fujimoto2005 a écrit : > When the strings of the legend is too long, is it possible to display in 2 > lines by legend(stringPart1+'a line feed code'+stringPart2)? Apparently, neither including ascii(10) nor ascii(13), nor using $abcd \newline efgh$ nor "<html>abcd<br>efgh" work... No more idea... SG _______________________________________________ users mailing list <mailto:users@lists.scilab.org> users@lists.scilab.org <http://lists.scilab.org/mailman/listinfo/users> http://lists.scilab.org/mailman/listinfo/users
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users