[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52842] Implement "none" as a standard option
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties |
Date: |
Tue, 5 Feb 2019 09:34:44 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #6, bug #52842 (project octave):
@Rik: I tested in Matlab 2016a and indeed 'none' is equivalent to
'transparent'. This makes sense: if you want no ticks and no labels you'll use
("ytick", []) and won't define a ylabel string, on the other hand if you what
the same figure but don't wan't text strings to appear, then you'll just have
to make text strings transparent using "none".
It is also much easier to implement since you just have to implement "color" =
"none" in ft_text_renderer. I will try to provide you with a partial cset for
this.
Also, I see that your approach has been to set labels "visible" property to
"off", at rendering time. Is there any reason to not add an updater
(axes::properties::update_x(yz)color) that will change the corresponding label
"color" property? This would be consistent with how we usually proceed (e.g.
axes::properties::update_fontsize), an avoid changing the property each time
the figure is rendered.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?52842>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Rik, 2019/02/04
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Pantxo Diribarne, 2019/02/04
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Rik, 2019/02/04
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Rik, 2019/02/04
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Philip Nienhuis, 2019/02/05
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Rik, 2019/02/05
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Pantxo Diribarne, 2019/02/05
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Rik, 2019/02/06
- [Octave-bug-tracker] [bug #52842] Implement "none" as a standard option for graphics color properties, Rik, 2019/02/06