Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Unable to change appearance of plots in R2012b Linux
Posted:
Feb 13, 2013 1:43 PM
|
|
Hi all,
I've just installed Matlab R2012b on a fresh install of Ubuntu 64 bit. Plots look extremely ugly and when I change properties, the effect is not shown in the plot window. MWE:
plot(rand(1,10)) h2=xlabel('my x label') set(h2,'FontSize',14,'FontName','helvetica') set(gca,'FontSize',24,'FontName','helvetica')
The changes to the font size and type are not rendered in the window. Exporting as a png saves the figure with the ugly default font size and type. Exporting as an EPS saves the figure as it should look, with correct font sizes.
Changing the figure renderer makes no difference to the appearance.
When I use the plot tools to edit the xlabel, the font size shows correctly, but only when I'm editing. Once I click away from it, the font reappears in the default font type and size. This has been reported elsewhere in the forum, but was attributed to a problem with NXClient, which I am not using:
http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/300053
Also, using the tex interpreter on axis labels doesn't work until i export as EPS - none of the tex output shows up on the figure.
Other possibly relevant information: I use a dual screen setup, so I get the Matlab Java errors related to this problem, reported here:
http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/169024
but again, I'm not convinced that's the root of the problem, because I don't get those errors unless I open the plot tools (which isn't something I ever use).
I'd really appreciate any comments or suggestions as this makes Matlab essentially unusable for me. Thanks for your help!
|
|
|
|