Streamline determines the vector field at each point on the resultant line. So, just pass the results of Streamline to AutoColor (or Colormap->Color) and you'll have a line colored by the magnitude of the vector field. In you case, that's speed. If you want to color the line by another field, than use Map to interpolate the other field to the points that compose the line and then onto Color or AutoColor. There are examples of both in the sample set.
---------------------- Forwarded by Lloyd A Treinish/Watson/IBM on 07/12/2000 01:41 PM --------------------------- Yongbo Liu <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 07/12/2000 01:19:15 PM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: OpenDX-users <[email protected]> cc: Subject: [opendx-users] How to color streamlines based on a field Hi, everyone, I need to render streamlines using streamline module. But I cannot figure out how to color them based on a given field, say, a speed field. Please give me some ideas on this. Thanks. Yongbo Yongbo Liu <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 07/12/2000 01:27:20 PM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: OpenDX-users <[email protected]> cc: Subject: [opendx-users] how to color streamlines with a field Hi, everyone, I want to know how to color a single streamline with different colors based on some other field, say, magnitude of velocity field. Many thanks Yongbo Liu
