[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it a feature? no minor ticks on log plot in default
From: |
Ben Abbott |
Subject: |
Re: Is it a feature? no minor ticks on log plot in default |
Date: |
Sat, 10 Apr 2010 10:30:30 -0400 |
On Apr 10, 2010, at 10:00 AM, Ben Abbott wrote:
> On Apr 10, 2010, at 1:00 AM, Tatsuro MATSUOKA wrote:
>
>> Hello
>>
>> In the one of the thread of octave in Japan, there is a topic minor ticks of
>> the plot.
>>
>> x=1:100;
>> loglog(x,x);
>>
>> The plot has no minor ticks on default.
>>
>> Is it a feature?
>>
>> Of course,
>>
>> set (gca, 'xminortick', 'on', 'yminortick', 'on');
>>
>> makes the minortick on.
>>
>> If this is a feature, it is no problem for me.
>> This post will be a note for users.
>>
>> Regards
>>
>> Tatsuro
>
> Does the attached fix the problem for you?
>
> Ben
I neglected to consider the case where nextplot == "replacechildren" ...
actually that is the case for Matlab. Apparently Octave currently uses
"replace_children" in graphics.cc.in. However, the gnuplot backend is throws an
error if nextplot is set the "replace_children".
In any event, I've attached a changeset that should ensure compatibility with
Matlab.
If there are no objections, I'll push it.
Ben
changeset.patch
Description: Binary data