[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabe
From: |
Stefan Mahr |
Subject: |
[Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder |
Date: |
Tue, 25 Jun 2013 09:21:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22 |
Follow-up Comment #11, bug #34906 (project octave):
Rik,
There's a reason why I did not use getline. It breaks this code:
set (gca (), "xticklabel", "a|");
xticklabel = get (gca (), "xticklabel");
assert (xticklabel, ["a";" "] );
> The behavior of xticklabels is getting much better, but there is
> still a problem with alignment of the labels.
> If you look at the plot you will notice that the labels for
> 1,2,3,4 are offset to the left from their tickmark.
This problem doesn't appear with gnuplot, only with fltk.
> It seems like a possible solution would be to change to a
> null-delimited character array such that the first label was
> '1 '.
AFAIK, this would break matlab compatibility when doing
get (gca (), "xticklabel");
IMHO, the font renderer has to trim the strings. Also, there's another problem
with fltk frontend:
plot(1:4);
set (gca (), "xticklabel", "a");
The xticklabel only appears at the first position and is not repeated.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34906>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, anonymous, 2013/06/06
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Stefan Mahr, 2013/06/11
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Ben Abbott, 2013/06/11
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Ben Abbott, 2013/06/11
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Stefan Mahr, 2013/06/11
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Rik, 2013/06/24
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Rik, 2013/06/24
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Rik, 2013/06/24
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder,
Stefan Mahr <=
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Rik, 2013/06/25
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Stefan Mahr, 2013/06/25
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Rik, 2013/06/26
- [Octave-bug-tracker] [bug #34906] Compatibility difference with ticklabels, linestyleorder, Rik, 2013/06/26