you should be passing a colormap, not the data, into colorbar. Presumably you're coloring it using AutoColor? If so, pass the colormap output of AutoColor into ColorBar. Then Collect the output of ColorBar with your object for rendering.

Donna L. Gresh, Ph.D.
Optimization and Mathematical Software Group
IBM T.J. Watson Research Center
(914) 945-2472
http://www.research.ibm.com/people/g/donnagresh
[EMAIL PROTECTED]



Hartwig Wiesmann <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

01/18/2004 06:53 PM
Please respond to opendx-users

       
        To:        [email protected]
        cc:        
        Subject:        [opendx-users] Color bars and groups



I have got a group that consists out of two fields. These fields
represent the same physical data on two different irregular grids
(these grids do not overlap). One contains data on a triangular grid,
the other one on a quad grid. As both fields belong to each other I put
them into a single group.
Rendering of the data is not a problem at all. But I would also like to
have a color bar next to the data.
Connecting the import module to the input of the color bar leads to the
error message "ERROR ColorBar: Invalid data: colormap must be a single
field; not a group". Due to the different connections of the irregular
grids I cannot put the data into one field. How can I nevertheless have
a color bar?

Thanks!

Hartwig Wiesmann


Reply via email to