[Paraview] color isosurface using another data file

Cory Quammen cory.quammen at kitware.com
Wed Nov 16 13:31:04 EST 2016


Great, I'm glad it worked for you. Thanks for the followup and the
detailed directions.

Cory

On Wed, Nov 16, 2016 at 1:27 PM, Yongcheng Zhou
<yzhou at math.colostate.edu> wrote:
>
> Thanks  a lot Cory - you saved my day!
>
> While this must be trivial for experienced paraview users, I still want to
> share the detailed steps: (1) load two files one by one; make sure they have
> the same topology and different scalar array names; (2) select both files in
> the pipeline window by using Shift key and clicking two file names; (3) with
> two files selected, go to Filters and choose Append Attributes; This creates
> a new object AppendAttributes1; (4) using this new object to create contour
> and color it. Now there are options in Contour by and Coloring when creating
> contour. Choose the array
> at your choice.
>
> Thanks again.
>
> -yc
>
>
> On Wed, 16 Nov 2016, Cory Quammen wrote:
>
>> You can combine two data sources with the Append Attributes filter in
>> ParaView, but they must have the same topology (points and cells). The
>> scalar arrays should also have different names. If this is the case
>> for your two VTK files, you can Contour by one, then color by the
>> other.
>>
>> HTH,
>> Cory
>>
>> On Wed, Nov 16, 2016 at 1:37 AM, Yongcheng Zhou
>> <yzhou at math.colostate.edu> wrote:
>>>
>>>
>>> Hi there, I searched the maillist but found that this has never been
>>> completely answered. I have two scalar vtk files, one for generating
>>> isosurface and the other for coloring the isosurface. How can I make this
>>> out? Thank you! -yc
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R&D Engineer
>> Kitware, Inc.
>>
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list