Got Questions? Get Answers.
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:
Contourf NaN values

Subject: Contourf NaN values

From: Javier

Date: 20 Aug, 2012 21:13:09

Message: 1 of 1

Hi everyone,
My name is Javier and I am very new to Matlab. Recently, I plotted a jpg image and then on top of it I used the contourf function to plot water depths. However, my contourf matrix has NaN values and these appeared as white cells. Is there a way to make these non-inundated cells transparent so I can see the underlying image? Any help or hint will be very much appreciated. Thank you so much,

Javier

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