Add regions of statistical significance to a map plot
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
mashtine
el 12 de Ag. de 2015
Comentada: mortain
el 3 de Oct. de 2015
Hello,
I am using the following to map out a trend in data over a region:
ax = worldmap(latlim, lonlim);
S = shaperead('landareas','UseGeoCoords',true);
surfacem(lat, lon, inpdata)
geoshow([S.Lat], [S.Lon],'Color','black');
This should be simple but I am not seeing fora with it. Is there any way to now add in a surfacem plot of a matrix holding p-values of the trends? I would like to simply add a cross where the corresponding cell in the p-value matrix is < 0.05.
Thanks!
0 comentarios
Respuesta aceptada
Chad Greene
el 29 de Ag. de 2015
You'll find a few hatch filling functions on the File Exchange site. For example, the ones mentioned here.
Generally, to apply non-mapping toolbox plotting functions to maps, you'll need to do something like
[x,y] = mfwdtran(lat,lon);
contourf(x,y,z)
and then you'd be able to use hatchfill as shown in the Pick-of-the-Week example.
5 comentarios
mortain
el 3 de Oct. de 2015
Hello,
I am getting the same error after updating to Matlab 2015.
Have you found a fix for this problem?
Cheers
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!