Thread Subject: Colour of surfaces in a multiple surface plot

Subject: Colour of surfaces in a multiple surface plot

From: Alegnus Harniman

Date: 15 May, 2009 19:27:02

Message: 1 of 2

Hi,

I have a graph plotting multiple complex surfaces. The surfaces are generated from a 3D matrix which is overwritten by the next surface as soon as a plot is produced. The plotted surfaces are kept on the graph using "hold on". I want each of these surfaces to be a different single colour to make the graph easier to interpret.

Could anyone suggest how I might do this?

Many thanks

Subject: Colour of surfaces in a multiple surface plot

From: Luigi Giaccari

Date: 19 May, 2009 15:21:02

Message: 2 of 2

"Alegnus Harniman" <rh4041@bristol.ac.uk> wrote in message <gukfm5$5g9$1@fred.mathworks.com>...
> Hi,
>
> I have a graph plotting multiple complex surfaces. The surfaces are generated from a 3D matrix which is overwritten by the next surface as soon as a plot is produced. The plotted surfaces are kept on the graph using "hold on". I want each of these surfaces to be a different single colour to make the graph easier to interpret.
>
> Could anyone suggest how I might do this?
>
> Many thanks

You just have to build a colormap of the size of the umbers of your models than use a color for each surface.

If you have problem send me your models at:

giaccariluigi@msn.com

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
help Rob Harniman 15 May, 2009 15:52:38
multiple Rob Harniman 15 May, 2009 15:29:06
surface Rob Harniman 15 May, 2009 15:29:06
graph Rob Harniman 15 May, 2009 15:29:06
plot Rob Harniman 15 May, 2009 15:29:06
colour Rob Harniman 15 May, 2009 15:29:05
rssFeed for this Thread

Contact us at files@mathworks.com