Thread Subject: mapshow + pcolor?

Subject: mapshow + pcolor?

From: Joseph MacGregor

Date: 20 Nov, 2009 21:22:19

Message: 1 of 1

I have successfully plotted a geotiff using mapshow. I would next like to overlay gridded data using pcolor, but it doesn't work and doesn't provide an error message. Instead, the plot becomes blank. Are these commands fundamentally incompatible? contourf and its ilk can be overlaid, but filled contours cannot be displayed transparently, so I cannot see the underlying geotiff? Any ideas? An example of the code:

[A, A_colormap, A_ref, A_box] = geotiffread('A.tif');
figure;
mapshow(A, A_ref, 'displaytype', 'image'); % doesn't really need the displaytype switch
axis equal;
hold on;
pcolor(x, y, z);

Thanks,

Joe

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
mapshow Joseph MacGregor 20 Nov, 2009 16:24:24
pcolor Joseph MacGregor 20 Nov, 2009 16:24:22
rssFeed for this Thread

Contact us at files@mathworks.com