Hi Antoine, Note that with minor polishing of the previous code one can also display vertical grid lines and shaded gaps, as per attachment. Would this be more to your taste?
PS: Using similar logic, one could add an extra input parameter to plotbreaks() in order to shade the larger vertical gaps too. However, the amount of repetitive work this would imply does not seem fun to do. Cheers, Rafael -----Original Message----- From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Antoine Monmayrant Sent: Wednesday, November 23, 2016 4:39 PM To: Users mailing list for Scilab <users@lists.scilab.org> Subject: Re: [Scilab-users] ?==?utf-8?q? Axis break with Scilab ? Hi Rafael, Thanks for this version that does the trick. Adding some "---//---" at the break should be almost perfect. I had something similar in mind, but there is one issue: when placing a zoom box or a datatip after the first or second break, the reported X value is clearly not corresponding to the xticks... Cheers, Antoine
plotxbreaks.pdf
Description: plotxbreaks.pdf
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users