Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
tree handle class

Subject: tree handle class

From: gudny

Date: 7 Jun, 2010 15:32:55

Message: 1 of 3

Hi,
I have written a node class inheriting from the handle classes and a
tree class, that constructs my tree according to the parameters I
give. Now I want to plot this tree. Does anyone know of a function
that does this?
regards,
Gudny

Subject: tree handle class

From: sscnekro

Date: 7 Jun, 2010 16:45:22

Message: 2 of 3

Do you mean sth like this? ('ve never used it)
http://www.mathworks.com/access/helpdesk/help/toolbox/stats/classregtree.view.htm

Subject: tree handle class

From: Steven Lord

Date: 7 Jun, 2010 17:20:04

Message: 3 of 3


"gudny" <gudnyg@gmail.com> wrote in message
news:65650c33-bbf6-4688-ad3c-9a285216d86e@y11g2000yqm.googlegroups.com...
> Hi,
> I have written a node class inheriting from the handle classes and a
> tree class, that constructs my tree according to the parameters I
> give. Now I want to plot this tree. Does anyone know of a function
> that does this?

You could overload the TREEPLOT function for your class, but you will need
to write much of the logic yourself, as only you (as the class author) know
what information your class has available to draw the tree and in what
format.

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us