[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40256] set (gca, 'xticklabel') command not wo
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #40256] set (gca, 'xticklabel') command not working properly (gnuplot) |
Date: |
Thu, 07 Nov 2013 16:15:51 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 |
Update of bug #40256 (project octave):
Summary: gnuplot - datetick doesn't remove previous X-grid,
-ticks & labels => set (gca, 'xticklabel') command not working properly
(gnuplot)
_______________________________________________________
Follow-up Comment #2:
The problem is not with datetick, but rather with how the command "set (gca,
'xticklabel', ...)" works. Instead of just overwriting the existing labels,
this is apparently invoking the auto-axis labeling routine. Simple code to
reproduce:
graphics_toolkit gnuplot
plot (1:4)
## At this point labels are 1, 1.5, 2, 2.5, 3, 3.5, 4
set (gca, 'xtick', 1:4)
## At this point labels are 1, 2, 3, 4
set (gca, 'xticklabel', {'A', 'B', 'C', 'D'})
## Now labels are 'A', 1.5, 'B', 2.5, 'C', 3.5, 'D'
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40256>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40256] set (gca, 'xticklabel') command not working properly (gnuplot),
Rik <=