Re: hello! background line

From: Dennis Shea (shea AT cgd.ucar.edu)
Date: Fri Sep 30 2005 - 11:10:58 MDT

  • Next message: Ben Foster: "writing netcdf"

    >I have a simple question, Thanks for any suggestion.
    >I draw a line contour on a colour contour, using
    >overlay, then I draw a line (xx,yy), but I can not see
    >the the line, because it was covered by the colour
    >contour in the background, and I do not know how to
    >make it showing on the top of the colour and line
    >contours.
    >
    >plot1 = gsn_csm_contour(wks,ccrtot2,res1); colour
    >contour
    >plot2 = gsn_csm_contour(wks,ccrtot1,res2); line
    >contour
    >overlay(plot1,plot2)
    >xx = (/1,118/)
    >yy = (/10.5,18.5/)
    >gsn_polyline(wks,plot1,xx,yy,res_lines)
    >draw(plot1)
    >
    ------------

    Rather than

     gsn_polyline(wks,plot1,xx,yy,res_lines)
     draw(plot1)
     frame(wks)
     
    Try
     draw(plot1)
     gsn_polyline(wks,plot1,xx,yy,res_lines)
     frame(wks)

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



    This archive was generated by hypermail 2b29 : Fri Sep 30 2005 - 17:24:57 MDT