xy markers

From: Keith Oleson <oleson_at_nyahnyahspammersnyahnyah>
Date: Fri, 3 Nov 2006 10:48:52 -0700 (MST)

I would like to produce an xy plot where each data point is identified by a
unique number (1-50). I thought the following would work but I get a plot
where all of the datapoints are marked with a "1".
Any ideas?

condensed version:

  mstring = sprinti("%2.0i",ispan(1,50,1))
  fontnum = 21
  xoffset = 0.0
  yoffset = 0.0
  ratio = 1.0
  size = 1.0
  angle = 0.0

  res = True
  res_at_xyMonoMarkLineMode = True
  res_at_xyMarkLineMode = "Markers"
  res_at_xyMarkers = NhlNewMarker(wks, mstring, fontnum, xoffset, yoffset, ratio, size, angle)

  res_at_xyMonoMarkerColor = True
  res_at_xyMarkerColor = "Blue"
  res_at_xyMonoMarkerSize = True
  res_at_xyMarkerSizeF = 0.010
  plot = gsn_csm_xy(wks,riv_data(1,0:49),riv_data(3,0:49),res)

thanks,

Keith

____________________________________________________________________________
Keith Oleson oleson_at_ucar.edu
Terrestrial Sciences Section Work Phone: 303-497-1332
Climate and Global Dynamics Division Fax: 303-497-1348
National Center for Atmospheric Research Express mail: NCAR
P.O. Box 3000 1850 Table Mesa Dr.
Boulder, CO 80307 Boulder, CO 80305
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 03 2006 - 10:48:52 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 03 2006 - 11:48:28 MST