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

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

[Octave-patch-tracker] [patch #7752] Add support for saving and loading


From: Pantxo Diribarne
Subject: [Octave-patch-tracker] [patch #7752] Add support for saving and loading figures
Date: Fri, 18 May 2012 08:53:03 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0

Follow-up Comment #19, patch #7752 (project octave):

Attached a new set of files.

*hdl2struct.m* : unchanged
*copyobj.m* : 
 - now accepts legends or colorbars as input handle. They are treated as
simple axes.
 - now accepts hggroup as valid parent for lines, patches ...

 
*struct2hdl.m* :
 - stem, area, contour3 hggroups support have been added 
 - legend visibility and textposition are now supported 

It is now possible to save/restore the whole root environnement doing:

##Save
str = hdl2struct (0);
save "myfig_group.struct" -struct str

##Restore
str = load ("myfig_group.struct");
h = struct2hdl (str);

*TO BE FIXED* : 
 - user defined hggroup won't be recognized so that incoherent behaviour like
the one bellow are expected :
figure (1);
li = plot (1:10);
figure (2);
hg = hggroup ();
copyobj (li, hg);
figure (3);
copyobj (hg, 3);
==>error: struct2hdl: couldn't guess the type of hggroup

 - produced colorbars do not behave as original. Manipulating them can even
crash octave.



 


(file #25877)
    _______________________________________________________

Additional Item Attachment:

File name: 2012.05.18.zip                 Size:9 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7752>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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