- 积分
- 32399
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-12-11
- 最后登录
- 1970-1-1
|
GrADS
系统平台: |
|
问题截图: |
- |
问题概况: |
画出来的图只有一种颜色 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
1 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 chongzika 于 2015-7-22 16:37 编辑
如图 res@xyLineColor = (/"red","gray"/)plot(0) = gsn_csm_xy(wks,times,pm25,res)
pm25=new((/2,dims(0)/),float)
pm25(0,:)=pm25mo
pm25(1,:)=pm25ob
------------------------------------------
res = True ; plot mods desired
res@gsnDraw = False
res@gsnFrame = False
res@vpWidthF = 0.70 ; change aspect ratio of plot
res@vpHeightF = 0.15
res@trXMinF = trxmin
res@trXMaxF = trxmax
res@xyLineColor = (/"red","gray"/)
res@xyLineThicknessF = 2.0
res@tiYAxisString = "pm25,ug/m3"
res@tiYAxisFontColor = "red"
res@tiYAxisFontHeightF = 0.05
res@tfPolyDrawOrder = "PreDraw" ; Draw any attached primitives
; before rest of plot.
res@tmXBOn = False
res@tmYLLabelFontHeightF = 0.01 ; resize tick labels
res@tmYLLabelFontColor = res@xyLineColor
这个不知道是不是和其他的设置有冲突
|
|