Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Unable to change appearance of plots in R2012b Linux
Replies: 5   Last Post: Aug 9, 2013 2:49 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Gabriel Rosser

Posts: 8
Registered: 9/23/09
Unable to change appearance of plots in R2012b Linux
Posted: Feb 13, 2013 1:43 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.