I had a similar issue: the colouring of data outside the range of my
arbitary min and max. By default, you get no colour, or an optional out
of range colour (an aside: the out of range is good but would be better
if you could specify different colours for max and min!).

My solution was to use compute to limit the data to the arbitary min and
max values (data >= max ? max : data <= min ? min : data).

That way, the colouring modules don't anything about the data outside
the colouring range, since it no longer exists in the data field. Use
route/switch to pass into multiple instances of this. I think this would
work for saturation and opacity as well. If you want the saturation and
opacity from the original data, pass in the original otherwise pass in
the output of the compute.

Hope that helps

Peter


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brent
Bailey
Sent: 17 December 2004 01:08
To: DX
Subject: Re: [opendx-users] ColoBar adjusts color


I am having a similar problem, but haven't found a satisfactory solution
yet.  I want to set the minimum and maximum values, but I also want to
have it interpolate the saturation and opacity from the data inputs. 
When I don't connect the data input, I get nothing (the data has no
effect on the saturation or opacity...so I get nothing on the image). 
When I have it connected I can't set the minimum and maximum values.  I
have many sequences of data (ie. things are changing with time), and I
don't want the minimum and maximum values to change when playing back
the sequences.

I can't use AutoColor as I want to overlay multiple pieces of data, and
I want each piece of data to have a certain color.

Is there a way to set the min/max values so that they don't change?  Is
there a reason this won't work?

Thanks,

Brent Bailey
 

On Thu, 2004-12-16 at 11:50, Chris Pelkie wrote:
> Set the min and max values but disconnect the data input. You 
> meanColormap not Colorbar, right? or not? Either way...
> 
> 
> On Wednesday, Dec 15, 2004, at 10:13 America/New_York, 
> FabianBraennstroem wrote:
> 
>         Hi,
>         
>         I visualize some data sequences from several data-files.
>         This works actually nice, but I have trouble to get the
>         ColorBar not
>         changing the colors for every different data-file. Right, now
>         ColorBar adjusts the new data-file. I tried to avoid this by
>         setting
>         the 'min' and 'max' values, but this did not help.
>         
>         Can anybody give me any advice?
>         
>         
>         Fabian Braennstroem
>         Duesseldorf/Berlin
>         
>         
>         
> _______________________________
> Chris Pelkie
> Scientific Visualization Producer
> 622 Rhodes Hall, Cornell Theory Center
> Ithaca, NY 14853

Reply via email to