1. 特殊单位、点乘、上下标、回车
摄氏温度单位 ~F35~J~F~C
θ(theta)位温~F33~q
点乘 ~F18~V
“~B~”开始下标、“~S~”开始上标,以“~N~”结束。
回车用“~C~”表示
2. 坐标轴和刻度之间的距离
res@tmXBLabelDeltaF =-0.7;
res@tmXBPrecision = 3; 小数点的位数
res@tmYUseLeft = False ;注意在修改右坐标轴时要设置左坐标轴的使用为False。
res@tmYRLabelDeltaF = -0.8 ;This resource is ignored unless tmYUseLeft is set to False.
3. 中国习惯的每根风杆4m/s
外国习惯1长横是10m/s,中国习惯是4m/s,把风速m/s乘以2.5后,就符合国内习惯了。
进行处理之后,对图例的内容进行标注:
res_vc@vcRefAnnoString1 = "4m~F18~V~F25~s~S~-1~N~" ;Times-roman是25 ;或者用"4m/s"
res_vc@vcRefAnnoString2 ="full barb"; 风杆图例说明文字,默认情况下是"Reference Vector"
4. 设置纵坐标横过来
res@tiYAxis = True ; 显示纵坐标标题
res@tiYAxisString = "zongzuobiao"
res@tiYAxisAngleF = "90" ; 纵坐标标题的方向,由水平方向逆时针旋转,默认为 90 即竖直放置,若为 0 则为水平。
5. 设置画版横竖
res@gsnPaperOrientation ="landscape" ;横张; "portrait";竖张;