[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #7752] Add support for saving and loading
From: |
Ben Abbott |
Subject: |
[Octave-patch-tracker] [patch #7752] Add support for saving and loading figures |
Date: |
Fri, 18 May 2012 17:55:31 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 |
Follow-up Comment #20, patch #7752 (project octave):
I notice you don't use the hggroup() function in struct2hdl(). Creating a
hggroup() object isn't very obvious. In the event, it is helpful, the code
below will produce an hggroup with patches and lines as children.
figure (1)
clf
hb = bar (rand (1, 5));
hold all
hp = findobj (hb, "type", "patch");
hl = plot (rand (5));
hg = hggroup ();
set (hp, "Parent", hg)
set (hl, "Parent", hg)
delete (hb)
Also, to simplify maintenance, high level plot functions could be avoided.
For example, if a new error bar format is added to errorbar.m then struct2hdl
will be broken.
That would imply that the cases to be considered are
figure
axes
image
line
patch
surface
text
hggroup
Or maybe there is there something I'm missing? Is there are reason why high
level plot functions are needed?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?7752>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/