[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39529] graphics functions: unneeded new axis
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #39529] graphics functions: unneeded new axis when parent is specified as prop/val |
Date: |
Sun, 21 Jul 2013 13:23:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 |
Follow-up Comment #5, bug #39529 (project octave):
Your approch seems reasonable. However, as many graphics functions rely on
_plt_get_axis_args_, I would not change its behavior. I think it should always
return an axes handle.
Why not call newplot in _plt_get_axis_args_ :
- if a parent axes is specified in any form, call "hax = newplot (hax)"
- if none is specified, call "hax = newplot ()" instead of "gca ()".
The workflow would then be:
- implement "newplot (handle)" which doesn't work yet
- modify __plt_get_axis_args_
- remove superfluous calls to "newplot ()" from the graphics functions that
already use it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39529>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/