我在绘制高空天气图时,等高线特别’崎岖‘,请问如何能把它画得平滑一点?
以下是与画图有关得部分代码:
fig = figure('position', [50, 100, 600, 600]);
ax = axes;
m_grid;
hold on
m_proj('miller','lon',[70,150],'lat',[15,55]);
[c,h] = m_contour(plon,plat,z,[296:4:308],'linewidth',2);
colorbar;
m_contour(plon,plat,z,6,'linewidth',1.5)
m_plot(bou2_4lx,bou2_4ly,'k');%画国界
m_plot(HN_x,HN_y,'r');%画省界
clabel(c,h);