There are a couple ways to approach this.
You should be able to use Include to remove the -1 values. Then you could use Autocolor with min/max to set the color of the ones >1.
Alternatively, use the Colormap Editor (with output attached to Color) to create whatever pattern you want. You can start with it's default (which is just like AutoColor) and the adjust the ranges to do something different for the two extremes. There should be an example of using the colormap editor in the samples (Color.net for example)
Donna L. Gresh
Optimization and Mathematical Software Group
IBM T.J. Watson Research Center
(914) 945-2472
http://www.research.ibm.com/people/g/donnagresh
[EMAIL PROTECTED]
| "Grass, Kai"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 07/20/2004 10:19 AM
|
|
Hello,
since you could solve my last problem in an instant, I'll have to ask
another (easy?) question.
Let's say, I've got an object with the following definition:
# The field with three components: "positions", "connections" and
"data".
object "md-cube data" class field
component "positions" value 1
component "connections" value 2
component "data" value 3
end
The "data"-component is depending on the connection. Since the
connections are line elements I use "Tube" to draw them. Colors are
applyied with "AutoColor" according to "data".
Now my question: Is it possible to delete/remove certain connection from
this object? For example all components with a data value less then
zero.
I tried to use (min/max)-range in AutoColor for this job. This causes a
problem because DX uses only one color for all values above AND below
the selected range and I have to be able to distinguish these.
Simplified example: The data values are a) -1, b) floating point numbers
from 0 to 1, or c) some number greater than 1. I want to use AutoColor
to set the colors for the values from 0 to 1, have all values greater
than 1 be in the same color and all values of -1 to be invisible (or
white).
Is this somehow possible?
Thanks for your help,
Kai
