[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48148] plottting with title and unboxed legen
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails |
Date: |
Tue, 7 Jun 2016 11:42:48 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #5, bug #48148 (project octave):
I also obtain the same results as Philip on R2016a. Note however that legend
object don't behave like axes objects in this regard: when setting "visible"
to "off" on axes objects, only the axes lines, the tick labels and the
"x/y/zlabel" and "title" are hidden. The other children objects (lines,
patches ...) are drawn.
So Octave behaves exactly as ML for axes objects and not for legend objects.
In ML you need to use "legend boxoff" to hide only the legend box, not the
whole legend. This also works in Octave
Now about the missing legend labels in Octave printout when you hide the box,
if you look carefully (in Rik's example) you'll see that *the text is drawn
but white*. FWIW this doesn't happen with the svg format:
plot (1:10);
legend abc
legend boxoff
title ('legend boxoff');
print toto.svg
works as expected.
I checked in gl2ps-print.cc that the correct color is set prior to calling
"gl2psTextOpt". It looks like a bug in gl2ps when using multiple viewports but
I have no real clue ATM.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48148>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Juan Pablo Carbajal, 2016/06/06
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Rik, 2016/06/06
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Juan Pablo Carbajal, 2016/06/06
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Rik, 2016/06/06
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Philip Nienhuis, 2016/06/07
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Pantxo Diribarne, 2016/06/10
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Rik, 2016/06/10
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Pantxo Diribarne, 2016/06/10
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Rik, 2016/06/10
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Rik, 2016/06/11
- [Octave-bug-tracker] [bug #48148] plottting with title and unboxed legend fails, Pantxo Diribarne, 2016/06/12