comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Plotting colored points with PLOTS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Plotting colored points with PLOTS [message #553] Tue, 13 October 1992 08:27
bowman is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: V2.4.0 comments
Next Topic: Porting VMS "writeu" files to UNIX

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:53:34 PDT 2025

Total time taken to generate the page: 0.00362 seconds