[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot wi
From: |
Ronald |
Subject: |
[Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels |
Date: |
Wed, 21 Nov 2012 08:46:34 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0 |
Follow-up Comment #8, bug #33869 (project octave):
Ben,
I would also say that it shouldn't matter if you explicitly set "%g" as the
y-axis format or if you omit it. Since "%g" is the default, and in gnuplot
"show format" confirms that this is indeed set.
The odd thing is that when I test it, it does matter. The y-axis is still
shifted slightly more to the right when setting "%g" is omitted (as file
#26945 does) compared to setting "%g".
The exact code I use to test this is:
a=logspace(-2,2,5)
loglog(a,a)
set(gca,'YTickLabel',{'100m','10m','1','10','100'});
ylabel('my y label')
With the above code and file #26921 applied, setting "%s" moves the y-axis the
most to the right, omitting the line (as file #26945 does) a little less, and
setting "%g" (patch in comment #5) gives the least amount of y-axis movement
which works best for me. So file #26945 doesn't really work for me.
The change you pushed (file #26921) does indeed fix minor grid/ticks when
setting xticklabels, but as stated above introduces disproportional movement
of the y-axis when setting the yticklabels.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33869>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ronald, 2012/11/15
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ben Abbott, 2012/11/15
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ben Abbott, 2012/11/17
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ronald, 2012/11/20
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ben Abbott, 2012/11/20
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ben Abbott, 2012/11/20
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels,
Ronald <=
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ben Abbott, 2012/11/21
- [Octave-bug-tracker] [bug #33869] minor ticks disappear from log plot with specified xticklabels, Ben Abbott, 2012/11/21