Plotting colored points with PLOTS [message #553] |
Tue, 13 October 1992 08:27 |
bowman
Messages: 121 Registered: September 1991
|
Senior Member |
|
|
I am trying to use PLOTS to plot points so that the color of the point
depends upon a third parameter (tag). Can anyone tell me why this works:
FOR i = 0, n-1 DO BEGIN
PLOTS, x(i), y(i), PSYM=3, COLOR=tag(i)
ENDFOR
but this doesn't?
PLOTS, x, y, PSYM=3, COLOR=tag
The documentation says that color can be a vector for PLOTS. I am running
IDL 2.3.2 under AIX 3.2.
Thanks, Ken Bowman
------------------------------------------------------------ ---------------
Dr. Kenneth P. Bowman 409-862-4060
Climate System Research Program 409-862-4132 fax
Department of Meteorology bowman@csrp.tamu.edu
Texas A&M University
College Station, TX 77843-3150
|
|
|