Thread Subject:
surf plot is black

Subject: surf plot is black

From: Eyal

Date: 6 Apr, 2009 08:29:01

Message: 1 of 3

Hi,

When I use the surf function with too many data points the whole surface looks black.
If I reduce the number of points but they are close together initially the plot looks fine but when I use axis equal the plot turns black again.
Is there a way around that?

Thanks,
Eyal

Subject: surf plot is black

From: Andreas Bonelli

Date: 6 Apr, 2009 09:13:01

Message: 2 of 3

"Eyal " <shafrane@gmail.com> wrote in message <grcegd$du6$1@fred.mathworks.com>...
> Hi,
>
> When I use the surf function with too many data points the whole surface looks black.
> If I reduce the number of points but they are close together initially the plot looks fine but when I use axis equal the plot turns black again.
> Is there a way around that?
>
> Thanks,
> Eyal

Hi Eyal,

The default EdgeColor is Black. Try setting it to 'none', or 'interp'.

rg,
  Andreas

Subject: surf plot is black

From: Eyal

Date: 6 Apr, 2009 23:34:01

Message: 3 of 3

Thanks Andreas. It works fine now.

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
surf Andreas Bonelli 6 Apr, 2009 05:15:17
rssFeed for this Thread

Contact us