[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39549] ytick property and display different w
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #39549] ytick property and display different when ytickmode = "auto" (gnuplot) |
Date: |
Tue, 13 Aug 2013 17:38:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 |
Update of bug #39549 (project octave):
Status: None => Confirmed
Summary: Axis tick properties carry incorrect values in some
cases => ytick property and display different when ytickmode = "auto"
(gnuplot)
_______________________________________________________
Follow-up Comment #1:
The problem is only with gnuplot. The issue is that the "ytickmode" property
is set to "auto". In this case, Octave calculates ytick values, but so does
gnuplot. Ideally, only Octave should calculate the ytick values and pass them
down to gnuplot so that the display remains in sync with what Octave believes
is being displayed.
This one-liner is a workaround you can use until this gets fixed. It grabs
the current ytick values that Octave knows about, and then sets them on the
current axis. This forces the "ytickmode" to "manual" and installs the ytick
values that Octave knows about.
set (gca, "ytick", get (gca, "ytick"));
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39549>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #39549] ytick property and display different when ytickmode = "auto" (gnuplot),
Rik <=