LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-27-2010, 10:01 PM   #1
shva
Member
 
Registered: Feb 2009
Distribution: Fedora, Arch, Debian, Ubuntu
Posts: 56

Rep: Reputation: 15
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.
 
Old 04-28-2010, 05:27 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,479

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
i do not use matlab on linux ( i use octave)

do you have the Microsoft fonts installed ?
 
Old 04-28-2010, 06:51 PM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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).
Attached Images
File Type: png fontsize.png (16.1 KB, 4 views)
 
Old 04-28-2010, 07:11 PM   #4
shva
Member
 
Registered: Feb 2009
Distribution: Fedora, Arch, Debian, Ubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
Old 11-10-2010, 07:01 PM   #5
bulgakovv
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
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..
 
  


Reply

Tags
font, matlab


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Matlab Distributed Computing Server: Connecting to Matlab client fails OEP Linux - Server 0 12-21-2009 03:18 PM
Can I use simlink of matlab in Fedora? googlez Linux - Newbie 1 07-08-2009 02:41 AM
[B]Matlab simulink problem in fedora 9[/B] 7ser23 Linux - Newbie 3 11-10-2008 05:10 PM
MATLAB for fedora core 7 avi368 Linux - Software 1 10-09-2007 11:20 AM
Installing Matlab 7 on Fedora 4 Daley Linux - Software 8 02-18-2007 11:03 AM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration