From: Binbin on 18 Mar 2010 21:53 Since some of my figures have to include a number of subplots, the y-axis labels become very crowded on one line. I tried to use "\n" to make line folding automatically for these cramped labels but it does not work. Is there anyone having similar experience and let me know is there any way to solve this problem? Thanks a lot.
From: Walter Roberson on 18 Mar 2010 23:30 Binbin wrote: > Since some of my figures have to include a number of subplots, the > y-axis labels become very crowded on one line. I tried to use "\n" to > make line folding automatically for these cramped labels but it does not > work. > > Is there anyone having similar experience and let me know is there any > way to solve this problem? Thanks a lot. xlabel('line1\nline2') %will probably not work xlabel(sprintf('line1\nline2')) %will probably work xlabel({'line1','line2'}) %will work
|
Pages: 1 Prev: Tridiagonal matrix - Gaussian elimination, loop Next: GUI simple help |