Thread Subject: change a tyle of a graph

Subject: change a tyle of a graph

From: Hailey Yang

Date: 26 Sep, 2008 16:24:02

Message: 1 of 2

Hi,

I saved a 3d surface graph; now I want to change it to a contour one. It it possible to do this without retrieving all the data? I didn't find in the interactive toolbars.

Thank you for your help!

Hailey

Subject: change a tyle of a graph

From: Walter Roberson

Date: 26 Sep, 2008 17:04:45

Message: 2 of 2

Hailey Yang wrote:

> I saved a 3d surface graph; now I want to change it to a contour one.
> It it possible to do this without retrieving all the data?
> I didn't find in the interactive toolbars.

No, they have very very different internal representations.

If HS is the handle to the surface graph, then you can do

contour(get(HS,'XData'), get(HS,'YData'), get(HS,'ZData'));

or contour3() with the same arguments.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us at files@mathworks.com