这个命令对颜⾊进⾏定义,然后正常画填⾊即可。⽽在画站点数据时,使⽤常规的颜⾊定义⽅式 gsn_define_colormap(wks,"cmp_b2r")然后再使⽤函数添加colorbar Code:function attach_labelbar(wks,map,arr[*]:numeric,colors[*])local lbres, vph, vpw, nboxes begin getvalues map "vpHeightF"...
海平面气压 SLP ;f3 f4为模式结果 ;读f1 f2变量 (time, expver, level, latitude, longitude) u_850_era=short2flt(f1->u(0,0,0,:,:)) v_850_era=short2flt(f1->v(0,0,0,:,:)) PSL_era=short2flt(f2->msl(0,0,:,:)) SLP_era=PSL_era*0.01 copy_VarMeta(PSL_era,SLP_era) SLP_e...
打算之后把用到过的都码这 https://www.ncl.ucar.edu/Document/Graphics/ColorTables/cmp_b2r.shtml NCV_blue_red color table temp_19lev color table WhiteBlueGreenYellowRed color table BlueWhiteOrangeRed c…
在画地形图时候使用 cnres@cnFillPalette ="MPL_Greys" 这个命令对颜色进行定义,然后正常画填色即可。 而在画站点数据时,使用常规的颜色定义方式 gsn_define_colormap(wks,"cmp_b2r") 然后再使用函数添加colorbar Code: function attach_labelbar(wks,map,arr[*]:numeric,colors[*]) local lbres, vph, vpw,...