octave-maintainers
[Top][All Lists]
Advanced

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

Re: Default font for gnuplot in Octave plotting


From: Ben Abbott
Subject: Re: Default font for gnuplot in Octave plotting
Date: Sun, 24 May 2009 09:30:42 -0400


On May 24, 2009, at 12:39 AM, address@hidden wrote:

5/23/09

Ben,

I'm coming across some odd behavior with plotting since the removal of
the file __gnuplot_default_font__.m.

The following sequence works.
plot(rand(50,1));
title("hello world");

When you add a label that uses the TeX interpreter such as
xlabel('\pi + 1');

the title switches into a Greek font.   Switching the label back to
something normal without markup, xlabel('junk'),
causes the title to revert to "hello world".

Overriding the default fontname of "*" on the title does correct the
situation but to my mind it would be preferable
if the item with markup, in my example it was xlabel, had its default
font changed to Greek or Symbol but left the
other items alone.

Thoughts?

Rik


I recall being able to reproduce a similar example a few weeks ago, but am not able to do so now. Meaning my title does not change to the Greek/Symbol font.

My tip is

changeset:   9247:b2790fd23800
tag:         tip
user:        Michael Goffioul <address@hidden>
date:        Fri May 22 23:48:04 2009 +0100
summary:     More export symbols to allow usage from an IDE.

The last changeset that appears to have touched on this part of the code is 6 weeks old.

        http://hg.savannah.gnu.org/hgweb/octave/rev/5ecdb3d3568f

I noticed you've applied a changeset as recent as 2 days ago, so I assume you are up to date?

Personally, I'm confused as to why I'm unable to reproduce what you're seeing. I tried both gnuplot 4.3 and 4.2.5. What version of gnuplot are you running?

Ben


reply via email to

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