Pcolor Rendering Bug (R2016b)

1 view (last 30 days)
Brandon Bush
Brandon Bush on 21 Jun 2019
Hello, I am trying to use pcolor to plot some brightness temperature data. My main concern is this graphic bug that produces a large blotch on the graph (see below). Is there any way to get rid of this? Also a second question, how can I get the colors to "pop" more, for instance, in the graph the entire swath of data looks to be about zero but it just seems that the colors are not being represented colrrectly with the colorbar.
c = load('coast');
hold on;
u = load('us_state_map.mat');
netc = 'AMSR2-PRECIP_v2r0_GW1_s201807150047020_e201807150226000_c201807150249550.nc';
ncdisp(netc);
lat=ncread(netc,'Latitude_for_High_Resolution');
lon=ncread(netc,'Longitude_for_High_Resolution');
rr=ncread(netc,'Rain_Rate');
pcolor(lon,lat,rr)
plot(c.long,c.lat,'b')
plot(u.state_lon,u.state_lat)
shading interp
colorbar
grid on
untitled.jpg

Answers (0)

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!