Re: poly marker

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 24 2010 - 15:02:21 MST

You have to draw the plot after you add the polymarker(s):

   res@gsnDraw = False
   plot = gsn_csm_contour_map_ce(wks, x, res)

   mkres = True
   mkres@gsMarkerIndex = 17 ; Filled circle
   mkres@gsMarkerSizeF = 0.50

   gsn_polymarker(wks,plot,lon,lat,mkres)
   draw(plot)
   frame(wks) ; Now advance the frame.

end

See the polymarker/polyline examples here:
http://www.ncl.ucar.edu/Applications/polyg.shtml
Best regards,
Adam

On 02/24/2010 02:53 PM, jam hong wrote:
> Dear all ncl users
>
> I try to plot the station into my terrain map.
> I put the lat and lon in there and succesfully plot my terrain map but
> when I try to put the station coordinate in there by using gsn_polymarker
> It does not show up in my plot.
> Do you have any idea what did I do wrong?
>
> plot = gsn_csm_contour_map_ce(wks, x, res)
>
> mkres = True
> mkres@gsMarkerIndex = 17 ; Filled circle
> mkres@gsMarkerSizeF = 0.50
>
> gsn_polymarker(wks,plot,lon,lat,mkres)
>
> frame(wks) ; Now advance the frame.
>
> end
>
>
> > From: dbrown@ucar.edu
> > To: tongqi2@gmail.com
> > Date: Wed, 24 Feb 2010 12:50:25 -0700
> > CC: ncl-talk@ucar.edu
> > Subject: Re: Map projection support
> >
> > Hi Tong,
> > Unfortunately, NCL does not currently support either the sinusoidal
> > projection or the space oblique mercator projection.
> > -dave
> >
> >
> > On Feb 24, 2010, at 12:30 PM, Tong Qi wrote:
> >
> > > Hi,
> > >
> > > The data I am working with contains a map projection that I am not
> > > sure NCL can support. I was wondering if there is any way to display
> > > sinusoidal projections?
> > >
> > > Also, which projection in NCL would I use to display Space Oblique
> > > Mercator Projection, Mercator or RotatedMercator?
> > >
> > > Thanks,
> > > Tong
> > > _______________________________________________
> > > ncl-talk mailing list
> > > List instructions, subscriber options, unsubscribe:
> > > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> & gt; _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> ------------------------------------------------------------------------
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
> now. <https://signup.live.com/signup.aspx?id=60969>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
__________________________________________________
Adam Phillips 
asphilli@ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
Climate and Global Dynamics Division         fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 24 15:02:25 2010

This archive was generated by hypermail 2.1.8 : Thu Feb 25 2010 - 09:38:32 MST