Dear NCL users,
I'm trying to create a scatter plot in which the points have differente
marks, according to an array that gives the mark indexes, but it seems that
the xyMarkers are not getting the array with the marks. Please see the
script below:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
x = ispan(1,10,1)
y = x*log(x*1.)/cos(x*1.)
marks = (/1,1,1,1,2,3,3,3,2,1/)
scatterRes = True
scatterRes_at_xyMarkLineModes = "Markers"
scatterRes_at_xyMarkers = marks
scatterRes_at_xyMarkerSizeF = 0.03
wks = gsn_open_wks("ps","test")
plot = gsn_csm_xy( wks, x, y,
scatterRes )
end
Can you see what I'm doing wrong?
Best regards,
-- Mateus da Silva Teixeira Meteorologista Instituto de Pesquisas Meteorológicas - IPMet Universidade Estadual Paulista - UNESP Av. Luis Edmundo Carrijo Coube, 14-01 - Cx. Postal 281 - CEP 17033-360 Bauru - SP - Brasil Fone: +55 14 3103-6030 / fax: 3203-3649 Registered Linux User #466740 (http://counter.li.org/)
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Oct 06 2009 - 19:33:36 MDT
This archive was generated by hypermail 2.2.0 : Fri Oct 09 2009 - 08:29:22 MDT