octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31920] changing {x, y, z}tickmode to "auto" d


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31920] changing {x, y, z}tickmode to "auto" doesn't update {x, y, z}tick values
Date: Sat, 18 Dec 2010 17:17:24 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.231 Safari/534.10

URL:
  <http://savannah.gnu.org/bugs/?31920>

                 Summary: changing {x,y,z}tickmode to "auto" doesn't update
{x,y,z}tick values
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Sat 18 Dec 2010 12:17:23 PM EST
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

When the mode for the axes tick values or labels are changed from manual to
auto, the values are not updated.


clf
h = surf (peaks);
get (gca, "xtick")
ans =    0   10   20   30   40   50
set (gca, "xtick", [])
set (gca, "xtickmode", "auto")
get (gca, "xtick")
ans = [](0x0)


This happens for both gnuplot and fltk.

I'd expect changing the mode to trigger the backend to update the {x,y,z}tick
values in the same way changing the xlimmode to "auto" triggers an update to
{x,y,z}lim.

There is a similar feature when changing the {x,y,z}labels or title (fltk
only)


clf
px = get (xlabel ('hello world'), 'position')
px =   0   0   0
drawnow
get (get (gca, "xlabel"), "position")
ans =   0.50000  -0.05260   0.00000


For comparison, Matlab returns [0.5000  -0.0526   0.0000] for both.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31920>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]