Is this a contourfm bug?
조회 수: 3 (최근 30일)
이전 댓글 표시
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)
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Mapping Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!