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

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

[Octave-bug-tracker] [bug #48148] plottting with title and unboxed legen


From: Rik
Subject: [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails
Date: Mon, 6 Jun 2016 16:17:04 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #48148 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

I think there are different issues at work here.  If you change the visibility
of a graphics object to "off" it, shouldn't all of it's children disappear as
well?  This certainly works with


set (gcf, 'visible', 'off')


which causes the entire figure to disappear.  It also works this way with
hggroup.

If you have access to Matlab, could you test what happens to the legend on
screen when you make it invisible?

The set command for box works for me.


plot (1:10)
hl = legend ('abc');
set (hl, 'box', 'off');


This turns off the box, but remember that a legend is made from an axes
object.  Turning off the box won't turn off the x and y axes.  You will do
better to hack it by changing the axes colors to the color of the background,
usually white.


set (hl, 'xcolor', 'w');
set (hl, 'ycolor', 'w');




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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