Dear all,
I am creating extractions from a NetCDF data. I am wondering if I can create
separate color ramps for different extractions of the same array for
comparisons. I tried the process within Paraview Desktop but I was not able
to set different color ramps because the array name is the same for all
extractions.
Sample code:
SetActiveSource(ncreader)
ExtractSubset1 = ExtractSubset()
ExtractSubset1.VOI = [0, 50,0, 50,0, 8]
DataRepresentation1 = Show(ExtractSubset1)
DataRepresentation1.Representation = 'Volume'
DataRepresentation1.ColorArrayName = ('CELL_DATA', varname)
DataRepresentation1.ColorAttributeType = 'CELL_DATA'
DataRepresentation1.LookupTable = GetLookupTableForArray(?varname...
Any suggestions?
Thanks,
Jing
_______________________________________________
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
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview