Prev: double infinite integral
Next: to read mp3 file
From: matal on 27 Mar 2010 14:28 I have a bar chart with textual category descriptions on the x-axis that are a bit too long and run into each other. How can set their alignment so they read vertically? This is the same as setting the Alignment propoerty in Excel to +90 degrees.
From: us on 27 Mar 2010 16:05 "matal " <alam.tahsin(a)gmail.com> wrote in message <holinl$jp$1(a)fred.mathworks.com>... > I have a bar chart with textual category descriptions on the x-axis that are a bit too long and run into each other. How can set their alignment so they read vertically? This is the same as setting the Alignment propoerty in Excel to +90 degrees. a hint: - remove your xticklabels... - use TEXT setting the rotation prop to 90... help TEXT; us
From: matal on 27 Mar 2010 17:55 "us " <us(a)neurol.unizh.ch> wrote in message <holodm$jf2$1(a)fred.mathworks.com>... > "matal " <alam.tahsin(a)gmail.com> wrote in message <holinl$jp$1(a)fred.mathworks.com>... > > I have a bar chart with textual category descriptions on the x-axis that are a bit too long and run into each other. How can set their alignment so they read vertically? This is the same as setting the Alignment propoerty in Excel to +90 degrees. > > a hint: > - remove your xticklabels... > - use TEXT setting the rotation prop to 90... > > help TEXT; > > us Thanks. That seems like a very low level way of trying to do something that should be fairly standard. Nevertheless, if I do use text(), how do I place the labels exactly below each bar, short of manually measure the distances? Another related question - is there a way to place numbers above each bar showing the value of the bar? I guess it's possible to do it using text - but is there anything easier? Again, my charting bckground is in using Excel, and this isequivalent to turning on "Data Labels" in an Excel chart. Thanks!
|
Pages: 1 Prev: double infinite integral Next: to read mp3 file |