[ncl-talk] scatter plot w/ different markers

Alessandra Giannini alesall at iri.columbia.edu
Mon Feb 3 13:40:39 MST 2020


hello everyone,

I have a problem that has been nagging me for a while…
Here it is in its simplified form — 
I would like to make a scatter plot of two variables, with each point in the plot represented by a different marker, selected from this list of possible markers:
<http://www.ncl.ucar.edu/Document/Graphics/Images/markers.png>

These are the plot resources I set:

mkres = True
mkres at gsnDraw  = False                          ; need these to wait
mkres at gsnFrame = False

mkres at xyMarkLineMode   = "Markers"
mkres at xyMarkerSizeF     = 0.01           ; Marker size (default 0.01)
mkres at xyMarkers = ispan(2,16,1) 

following various examples in plot types/scatter plots.

But instead of the expected different markers, I get the same marker, corresponding to the first value in “ispan(2,16,1)", for all points.
Is there some "sticky” default resource that needs to be unset?

I am running NCL version 6.3.0

Attached are the entire script, and a sample output.

Your help is much appreciated — 

warm regards, alessandra










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200203/d8e0da7d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test123.ncl
Type: application/octet-stream
Size: 737 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200203/d8e0da7d/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200203/d8e0da7d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp1.pdf
Type: application/pdf
Size: 12026 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200203/d8e0da7d/attachment.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200203/d8e0da7d/attachment-0002.html>


More information about the ncl-talk mailing list