Hi, can I have more than one reference line.
I am trying to fill of color a barchart but no like you have in example 5
in XY plots. I want to fill, for example from 0<PW<30 red and PW>30 blue.
I added other "refline" but with polylines but I cannot fill with color
above the polyline. Below is what I have until now.
Thank you
res1 =True
res1_at_trXMinF = 153
res1_at_gsnLeftString = "~Z70~Daily PWV COT1 Tucson, Az."
res1_at_vpWidthF = 7.0
res1_at_vpHeightF = 3.0
res1_at_tiXAxisString = "Calendar Day"
res1_at_tiYAxisString = "PWV (mm)"
res1_at_gsnXYBarChart = True ; create bar chart
res1_at_gsnYRefLine = 0 ; reference line
res1_at_gsnAboveYRefLineColor = "Firebrick3"
res1_at_trYMaxF = 60
;x-bottom axis changes
res1_at_tmXBMode = "Explicit" ; define own tock marl lebels
res1_at_tmXBValues =(/161,181,201,221,241/) ;LOcation of
explicit labels
res1_at_tmXBLabels = (/"6/09","6/29","7/19","8/08","8/28"/)
; res3_at_tmXBLabelAngleF = 315. ; change label angle
res1_at_tmXBMinorOn = False ; No minor tick marks.
res1_at_tmXBLabelJust = "CenterCenter" ; label justification
res1_at_tmXBLabelFontHeightF = .2 ; Font size
res1_at_gsnDraw = False ; don't draw
res1_at_gsnFrame = False
;polylines setup
res_lines1 = True ; polyline mods
desired
res_lines1_at_gsLineColor = (/1/) ;color limon real
res_lines1_at_gsLineThicknessF = 2 ; line thicker
lines1=new(1,graphic)
plot(0) = gsn_csm_xy (wks,timeCOT,COT1daily,res1)
lines1(0)=gsn_add_polyline(wks,plot(0),(/153,244/),(/30.,30./),res_lines1)
; add polyline
Carlos Manuel Minjarez Sosa
Graduate Student. Atmospheric Sciences Department
University of Arizona. Physics-Atmospheric Sciences Bldg, Rm 526
1118 E 4th St. Tel: (520) 621-6843
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 09 2006 - 09:57:41 MDT
This archive was generated by hypermail 2.2.0 : Thu Aug 10 2006 - 15:20:04 MDT