LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   matlab fontsize problem in Fedora 12 (https://www.linuxquestions.org/questions/linux-software-2/matlab-fontsize-problem-in-fedora-12-a-804635/)

shva 04-27-2010 09:01 PM

matlab fontsize problem in Fedora 12
 
Hi everyone,

I have Matlab 2010a installed in my Fedora 12. But one problem with the plotting is that the font size does not change as I want. For example:

xlabel('x','fontsize',3)

and

xlabel('x','fontsize',5)

will give the same font size. Does anybody know how to make it right? Thanks.

John VV 04-28-2010 04:27 PM

i do not use matlab on linux ( i use octave)

do you have the Microsoft fonts installed ?

colucix 04-28-2010 05:51 PM

1 Attachment(s)
What if you set font size to 12? Do you see the change? Most likely you will not appreciate slight size differences on the screen, due to the resolution of the Matlab graphic. On the contrary if you print the image you will see such a difference.

In the attachment below you can see the printed x labels having size 3 (on the left) and 5 (on the right side) respectively. The image is magnified at 400% (hardly I can see the difference at the original size of the image).

shva 04-28-2010 06:11 PM

Yes, I have MS True Type Fonts installed in my Fedora.

I also tried

xlabel('x','fontsize',10)

and it gives the same size as

xlabel('x','fontsize',3)

I also have matlab installed in one of my Debian computer, it works. But I don't why it does not work in Fedora.

bulgakovv 11-10-2010 06:01 PM

A quick and ugly fix that worked for me was to install all the xorg-x11-font*. Don't know which one actually was needed, maybe someone with more knowledge could figure that out..


All times are GMT -5. The time now is 03:11 PM.