return type of surfc for MatlabR2008a or later

David Bateman David.Bateman at motorola.com
Fri Aug 29 11:16:52 CDT 2008


MatlabR2008a added a hold lot of additional group graphic objects like 
line, surface series, etc. Unfortunately, I only have access to 
MatlabR2007b at the moment and so don't know what exactly surfc 
returns.. Could someone out there with R2008a run

h = surfc(peaks())
a1 = get (h,'type')
a2 = get(h,'children')
a3 = cellfun(@(x) get(x,'type'), get(h,'children'),'UniformOutput', false)
save surfctest.mat a1 a2 a3

and send the output.

Thanks
David

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Octave-maintainers mailing list