[ncl-talk] Creating a Scatter Plot With...

Barry Lynn barry.h.lynn at gmail.com
Thu Sep 5 10:07:31 MDT 2019


Hello:

I have a relatively simple program to create a scatter plot (attached).

There are actually three sets of numbers, which are put into the xaxis and
yaxis.

I also set:

  res at xyMarkerColors     =  colors

  res at xyMarkers          :=  markers


with the hope to create three sets of marker with different colors and
marker symbol.


However, all my markers are blue and the same symbol (the first setting).


I am wondering how to set specific marker and colors for each element of
the xaxis, yaxis, 1 dimensional arrays.


I saw something in the NCL pages about creating a two dimensional array,
but this was for a scatter plot, which mine technically is not.


https://www.ncl.ucar.edu/Applications/Scripts/scatter_1.ncl


Thank you,


-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190905/68f8441d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_scatter.ncl
Type: application/octet-stream
Size: 1526 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190905/68f8441d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scatter_test.png
Type: image/png
Size: 25791 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190905/68f8441d/attachment.png>


More information about the ncl-talk mailing list