Hello All,
I have a contour plot of maximum vorticity, vmax(/height,flight leg/).
There are 7 flight legs. What I want is to have the cell width be
representative of the duration of the flight leg, since each flight leg
is not the same time interval. Any I ideas on how to accomplish this?
Or a different approach?
Here are my plot resources:
res = True
res@gsnMaximize = True
res@cnFillOn = True
res@cnFillMode = "CellFill"
res@cnLineLabelsOn = True
res@gsnSpreadColors = True
res@gsnFrame = False
res@gsnDraw = False
res@sfYArray = f->z
res@tiXAxisString = "Time (UTC)"
res@tiYAxisString = "Height (km)"
res@tiXAxisFontHeightF = 0.01
res@tiYAxisFontHeightF = 0.01
res@gsnStringFont = "helvetica"
res@tmYLLabelFontHeightF = 0.0095
res@tmXBLabelFontHeightF = 0.009
res@lbOrientation = "Vertical"
res@tmXBMajorOutwardLengthF = 0.0
res@tmYLMajorOutwardLengthF = 0.0
res@tmXBMinorOutwardLengthF = 0.0
res@tmYLMinorOutwardLengthF = 0.0
res@cnLabelMasking = True
res@cnLineLabelBackgroundColor = "transparent"
res@lbLabelFontHeightF = 0.0075
res@gsnLeftString = "Vertical Vorticity 10~S~-3~N~ s~S~-1~N~"
res@tmYLMode = "Explicit"
res@tmYLValues = fspan(0.45,11.25,19)
res@tmYLLabels = fspan(0.45,11.25,19)+ " "
res@tmXBMode = "Explicit"
res@tmXBValues = ispan(0,6,1)
;res@tmXBLabels = (/"Leg0","Leg1","Leg2","Leg3","Leg4","Leg5","Leg6"/)
res@tmXBLabels = (/"2214:18 -~C~2229:00", \
"2230:00 -~C~2248:00", \
"2250:00 -~C~2305:05", \
"2306:00 -~C~2325:00", \
"2326:00 -~C~2342:30", \
"2344:30 -~C~0001:30", \
"0002:45 -~C~0017:30"/)
res@tiMainString = "Maximum Bookend Vorticity"
res@gsnSpreadColorStart = 129
res@gsnSpreadColorEnd = -1
plot = gsn_csm_contour(wks,vmax,res)
draw(plot)
frame(wks)
Thanks,
Phillip
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 27 10:28:34 2013
This archive was generated by hypermail 2.1.8 : Tue Apr 02 2013 - 21:23:48 MDT