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

Home » Public Forums » archive » Re: "4D" 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
Re: "4D" Plots [message #52902 is a reply to message #52901] Wed, 07 March 2007 12:57 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
IPLOT has a VERT_COLORS keyword that accepts an array of values, but
SYM_INDEX only accepts a scalar. So if you're willing to display the
4th dimension as colors instead of symbol types, how about:

IDL> x = randomu(seed, 100)
IDL> y = randomu(seed, 100)
IDL> z = randomu(seed, 100)
IDL>
IDL> c = byte(randomu(seed, 100) * 255)
IDL>
IDL> loadct, 5
IDL> tvlct, r, g, b, /get
IDL> rgb = [[r], [g], [b]]
IDL>
IDL> iplot, x, y, z, rgb_table=rgb, vert_colors=c, linestyle=6, $
IDL> sym_index=1, sym_size=0.2

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Previous Topic: "4D" Plots
Next Topic: Re: mapping volume data

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

Current Time: Sat Oct 11 08:02:50 PDT 2025

Total time taken to generate the page: 1.51762 seconds