Re: using polymarker

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri, 03 Oct 2008 11:12:37 -0600

http://www.ncl.ucar.edu/Applications/polyg.shtml
Example 3
========
A simpler approach

        LAT = (/ 60, 45, 5, -5, -45, 60 /)
        LON = (/270, 30, 90, 90, 180, 0 /)
        nPts = dimsizes( LAT )

        res = True
        res_at_gsnFrame = False
         res@.....
         res@...
         plot = gsn_csm_contour_map_ce (wkx, x , res)

       polyres = True
       polyres_at_gsMarkerIndex = 16 ; polymarker style
       polyres_at_gsMarkerSizeF = 5. ; polymarker size
       gsn_polymarker(wks,plot,LON,LAT,polyres)
       frame(wks)
       
          
       

>
> I am using global atmospheric and land surface output from CAM and
> want to mark certain gridboxes on a plot. I have been looking at
> example scripts that use gsn_polymarker but this requires the x and y
> arrays to be of equal size and I have lat=64 and lon=128. Does anyone
> have any experience with this type of problem and am I using the right
> function?
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 03 2008 - 11:12:37 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 07 2008 - 09:09:48 MDT