help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting png font


From: Dr. Johannes Zellner
Subject: Re: setting png font
Date: Fri, 20 Aug 2010 17:47:16 +0200

Ben,

thanks // this works. I use octave 3.2 and gnuplot 4.4

Johannes.


2010/8/20 Ben Abbott <address@hidden>
On Aug 19, 2010, at 6:53 PM, Ben Abbott wrote:

> On Aug 19, 2010, at 2:39 PM, Dr. Johannes Zellner wrote:
>
>> Hi,
>>
>> How do I set the png font name and size?
>>
>> all attempts with "print -F:6" or -FVera:6 failed.
>>
>> The gnuplot backend is capable of ttf fonts in the png terminal (libgd), so the gnuplot version which is used by octave accepts stuff like "set term png font 'Vera,6"
>>
>> any help much appreciated.
>>
>> Johannes.
>
> I have confirmed this behavior. I'll try to find a work around, which will likely depend upon the version of gnuplot you are running.
>
> Can you tell us what version of Octave and Gnuplot you are running?
>
> Ben

For gnuplot 4.4, you can modify the fontsize of all text by ...

       ht = findall (gcf, "-property", "fontsize");
       set (ht, "fontsize", 6)
       print -dpng test.png

For gnuplot 4.2.x, I haven't found a solution.

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]