m_gshhs_h('patch',[.6 .6 .6]); m_grid('linest','none','linewidth',2,'tickdir','out','xaxisloc','top','yaxisloc','right'); m_text(-64.18,46.58,'GSHHS\_H (high)','color','m','fontweight','bold','fontsize',14); 运行出现这样问题 网站https://www.ngdc.noaa.gov/mgg...
9. Zoom in on Prince Edward Island to show different coastl m_proj('albers equal-area','lat',[46.375 46.6],'long',[-64.2 -63.7],'rect','on'); m_gshhs_h('patch',[.6 .6 .6]); m_grid('linest','none','linewidth',2,'tickdir','out','xaxisloc','top','yaxisloc','right...
m_gshhs_h.m m_gshhs_i.m m_gshhs_l.m m_hatch.m m_idist.m m_image.m m_legend.m m_line.m m_ll2xy.m m_lldist.m m_mag2geo.m m_patch.m m_pcolor.m m_plot.m m_plotbndry.m m_proj.m m_quiver.m m_range_ring.m m_rectangle.m m_ruler.m ...
11.2 有效的使用GSHHS (译者注:原文为4,但是根据上 下文逻辑应为11.2 ) 最简单的调用机制就是与m_coast (第3 章)的一致的。例如,绘制一个灰色填充的高分辨 率海岸线: m_gshhs_h( patch,[.5 .5 .5]); 然而,运行的时间会非常非常长,因为整个数据库必须被搜索和处理。我不建议使用中高分 辨率的海岸线...
The type ofdisplay structureaccepted bydisplaymis not the same as ageographic data structure(geostructs and mapstructs). introduced in Mapping Toolbox Version 2. Usegeoshowormapshowinstead ofdisplaymto display geostructs or mapstructs—created usingshapereadandgshhs, for example. For more information,...
m_gshhs_i('patch',[0.5 0.5 0.5]); but get given this error: Warning: Coastline fileprivate/gshhs_i.b not found \n(Have you installedit? See the M_MapUser's Guide for details)\n ---Using defaultcoastline instead > In mu_coast>get_coasts (line 460) ...
2、m_coast;绘出海岸,可以用patch命令将陆地上色,也可用更精细的m_gshhs_系列命令描绘海岸 3、m_grid;根据投影要求绘制网格 不同投影的后面的设置内容略有不同,具体可以利用m_proj('set','projection name')查阅可设置参数,或用m_proj get查询当前参数(必须已完成第一步创建投影) ...
m_gshhs_i('patch',[0.7 0.7 0.7]); %c<l<i<h m_grid('box','fancy'); title('南海地形图','fontsize',15,'fontweight','bold') hold on; [c,h]=m_contour(lon,lat,Z,[0,-100,-200,-500,-1000,-2000,-5000,-10000],'linewidth',0.5);colormap(summer) ...
针对常用的区域,可单独保存地形数据 利用m_proj建立project之后 m_gshhs_i('save','topodata') 将所需岸线保存为topodata.mat文件 m_usercoast('topodata','patch','r','linewidth',2) m_grid 岸线加载处转自:http://hi.baidu.com/curbzz/item/0220c6eb5618a60464db000f...
m_gshhs_i.m - draws coastline from GSHHS intermediate-resolution database m_gshhs_h.m - draws coastline from GSHHS high-resolution database m_gshhs_f.m - draws coastline from GSHHS full resolution database m_plotbndry.m - draws a political boundary from the DCW m_usercoast.m - draws ...