[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36135] legend ("hide") still leaves legend bo
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #36135] legend ("hide") still leaves legend box visible with fltk toolkit |
Date: |
Tue, 01 May 2012 15:05:28 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.165 Safari/535.19 |
Follow-up Comment #3, bug #36135 (project octave):
The problem is that "show" does
set (hlegend, "visible", "on")
This leaves the box "off", which is why only half the box is drawn.
For Matlab, "show" is equivalent to
set (findobj (hlegend), "visible", "on");
set (hlegend, "box", "on");
Should we copy Matlab's behavior, or do something reasonable like,
set (findobj (hlegend), "visible", "on");
set (hlegend, "visible", get (hlegend, "box"));
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36135>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/