regression plot

From: Lin Su <Lin.Su_at_nyahnyahspammersnyahnyah>
Date: Fri, 25 Jul 2008 21:58:23 -0600 (MDT)

Dear NCL users,
My scatter regression plot looks good. However, when I am trying to define
different resources for the one-to-one line and the fit line, they just don't work
at all. I plan to identify the two solid lines (one-to-one line and the fit line) with
different colors and different lines (solid
and dash). Here is my definition for them:
......
resPL1 = True
 resPL1_at_xyMarkLineModes = "Lines"
 resPL1_at_xyDashPatterns = 18 ; dash line
 resPL1_at_xyLineThicknesses = 3
 resPL1_at_xyLineColors ="red"

 resPL2 = True
 resPL2_at_xyMarkLineModes = "Lines"
 resPL2_at_xyDashPatterns = 0 ; solid line
 resPL2_at_xyLineThicknesses = 3
 resPL2_at_xyLineColors ="black"

  plot = gsn_csm_xy(wks, AOD1, AOD2, res1)
  xy1=gsn_add_polyline(wks,plot,DUSTAOD1,fit1,resPL1)
  xy2=gsn_add_polyline(wks,plot,x,y,resPL2)
......
Any apparent error somewhere?
Also, attached please find the plot.

Thanks a lot,
-Lin

---
Lin Su
http://atoc.colorado.edu/~sul/


_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Fri Jul 25 2008 - 21:58:23 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 28 2008 - 09:07:16 MDT