conflicting changesets for __go_draw_axes__
Ben Abbott
bpabbott at mac.com
Fri Jun 19 05:40:18 CDT 2009
On Jun 19, 2009, at 2:56 AM, Petr Mikulik wrote:
>>>> Using the current developers sources, this problem can be seen
>>>> by ...
>>>>
>>>> clf
>>>> semilogy (1:100)
>>>>
>>>
>>> I can't reproduce it here from inside gnuplot.
>>> set log y
>>> set format y "10^{%T}"
>>> set term x11 enhanced
>>> plot x^2
>>>
>>> show the expected superscripts.
>>>
>>> set term x11 font "*"
>>> or
>>> set term x11 font ",12"
>>>
>>> also works as expected
>>
>> I should have duplicated the effect in a short gnuplot script first.
>>
>> The one below does not display the exponents.
>>
>> set terminal x11 enhanced
>> reset;
>> set format x "%g";
>> set xtics font ",14";
>> set log y
>> set format y "10^{%T}";
>> set ytics font ",14";
>> set xrange [0:100]
>> plot x
>>
>> However, this one does
>>
>> set terminal x11 enhanced
>> reset;
>> set format x "%g";
>> set xtics font ",12";
>> set log y
>> set format y "10^{%T}";
>> set ytics font ",12";
>> set xrange [0:100]
>> plot x
>>
>> I assume that gnuplot is trying to render the exponents in both
>> cases, but
>> when the point size does not exist, nothing is rendered?
>
> Both plots are displayed correctly on my system (openSUSE) using both
> gnuplot 4.2.5 and gnuplot-cvs.
I assume that the problem with my system is that a non-scalable font
is being selected that that the fontsize needed for superscripts is
11pt. When I specify 11pt, I don't get the base numbers dont' show,
but the exponents do.
You might see something similar by setting the fontspec to "fixed,
14" (?).
Ben
More information about the Octave-maintainers
mailing list