Dear all,
In this short code, I am going to set the first 3 markers in red and
last 3 markers in blue. But they are plotted in red. Any problem with
the code?
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
wks = gsn_open_wks("x11","scatter")
res = True ; plot mods desired
res@xyMarkLineMode = "Markers" ; choose which have markers
res@xyMarkers = 16 ; choose type of
marker
res@xyMarkerColor = (/"red","red","red","blue","blue","blue"/)
x = ispan(1,6,1)
y = x+3
plot = gsn_csm_xy (wks,x,y,res)
end
~
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 8 13:28:46 2010
This archive was generated by hypermail 2.1.8 : Wed Apr 14 2010 - 09:15:22 MDT