Using TeX notation in xlabel makes the title of the figure change to Greek font

David Bateman David.Bateman at motorola.com
Mon Sep 22 11:12:54 CDT 2008


Alexander Mamonov wrote:
> I loaded the file debug.gp in Gnuplot, and I get exactly the same
> behavior as before, i.e. I still get Greek letters in the title.
> Attached is the debug.gp file.
>   

I have no idea why, but your default font doesn't seem to be set. Try doing

figure(1)
set (gcf(), 'DefaultTextFontName', 'arial')
clf; title('ABCDEFGHIJKLMONPQRSTUVWXYZ'); xlabel('a \in [0,1]');

I suspect something in your setup is setting the default fontname to the 
empty string.

D.


-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Bug-octave mailing list