Francis Poulin wrote:
> Hello,
>
> I sent this request to octave-help and they suggested that I ask fink  
> since that's how I installed it.  If you think I should bug them  
> please let me know.  I'm running Mac OS x 10.5.5 on my MacBook Pro  
> with Xcode 3.1.1.
>
> The basic problem is that the plots in octave,  which uses gnuplot,  
> look really good.  Unfortunately, when I export it to a file it uses a  
> different fault.  In particular, an ugly font.  I recently figured out  
> how to change the font of the x,y labels and the title by specifying  
> which font to use by telling it where.  The syntax is
>
> set (0, 'defaulttextfontname', '/Library/Fonts/Arial');
>
> where I have a file called Arial.ttf in the above mentioned directory.
>
> When I export the figure as a png those fonts look great but the axis  
> fonts still look awful.  Is there a similar command that will change  
> the axis font and size?
>
> Any help would be greatly appreciated.
>
> Cheers,
> Francis
>
>   
Sounds like a standard upstream cop-out:  "you used Fink so blame them."

Our packaging of octave/gnuplot doesn't do anything special to the fonts
that I know of.  You might try the "official" octave app bundle from
octave.sf.net and see if you get different results; if you do then maybe
there's something which isn't set up in our packages that should be. 

I personally found that I get the best results for figures by exporting
to EPS via octave's

print("filename.eps")

I typically just need EPS or PDF; I haven't looked into other formats.

Since you solved the the title font problem by using a command from
within octave, then the answer to the axis font is likely there (and I
don't happen to know that answer), and if so the octave people were,
IMHO, bad citizens for not giving you that information and instead
sending you here. 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to