Is this a contourfm bug?

1 Ansicht (letzte 30 Tage)
Andreas
Andreas am 12 Jul. 2013
Bearbeitet: Simon am 20 Dez. 2013
I have troubles with the contourfm function (mapping toolbox) when plotting some data. The issue is that contourfm would fill the entire plot with just one color, which is clearly wrong. pcolorm and contourm both display data correctly. Is this a bug in the contourfm function?
I am using: MATLAB Version: 8.1.0.604 (R2013a) and Mapping Toolbox Version 3.7 (R2013a)
The data can be found here (mat file): http://www.atmos.washington.edu/~andreasm/data.mat
clear all; close all;
load data;
% This works:
figure;
worldmap('world');
pcolorm(lat,lon,data');
colormap(jet);
caxis([0 1]);
% But this doesn't:
figure;
worldmap('world');
contourfm(lat,lon,data','Linestyle','none');
colormap(jet);
caxis([0 1]);
This is how it should look like (using pcolorm): http://www.atmos.washington.edu/~andreasm/works.jpg
  1 Kommentar
Simon
Simon am 20 Dez. 2013
Bearbeitet: Simon am 20 Dez. 2013
In case this question is still open: another thread is now (Dec 2013) active to reply to the same issue, see Getting errors using contourfm after upgrading to 2013a

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Mapping Toolbox finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by