color fill for Bar Chart gsnXYBarChartColors

From: David Adams <dave.k.adams_at_nyahnyahspammersnyahnyah>
Date: Sun Apr 25 2010 - 18:29:21 MDT

Hi All,
I am trying to fill in the bar chart with a solid color. The bar outline in
not important.
When I used the following command I only a get black outline for the bars
and not the solid fill color.

What am I doing wrong here?

saludos,
Dave

..........................................................ncl-code--------------------------------------------------------------------

wks = gsn_open_wks ("pdf","test") ; open pdf file

; Left variable
  resL = True ; plot mods desired
  resL@gsnDraw = False
  resL@gsnFrame = False
  resL@xyMarkLineModes = "markers"
  resL@xyMarkers = 16
  resL@xyMarkerColor = "blue"
  resL@xyMarkerSizeF = 0.005
  resL@tiYAxisString = "PWV (cm) " ; axis string
  resL@tiXAxisString = "Decimals Days" ; Label for the X axis
   resL@trXMaxF = 57.7
   resL@trXMinF = 57.6
   resL@trYMaxF = 6.75
   resL@trYMinF = 4

; Right variable
  resR = True ; plot mods desired
  resR@gsnDraw = False
  resR@gsnFrame = False
  resR@gsnXYBarChart = True
  resR@gsnXYBarChartColors = (/"red"/)

  resR@tiYAxisString = "(Precipitation mm/10min)" ; axis string

  resR@trXMaxF = 57.7
  resR@trXMinF = 57.6
  resR@trYMaxF = 1.0
  resR@trYMinF = 0.05
  resR@tiMainString = "INPA (GAMMIT vs GIPSY) PWV vs rainfall" ; Title
for the XY plot

    plot1 = gsn_csm_xy2(wks,julian_day,pw_INPA,precip,resL,resR)

    draw(plot1)
    frame(wks)
    end

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Apr 25 18:29:26 2010

This archive was generated by hypermail 2.1.8 : Thu Apr 29 2010 - 08:05:27 MDT