<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear all, <br>
</p>
<p>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. <br>
</p>
<p><br>
</p>
<p>Sample code:<br>
</p>
<div> SetActiveSource(ncreader)</div>
<div>    ExtractSubset1 = ExtractSubset()</div>
<div>    ExtractSubset1.VOI = [0, 50,0, 50,0, 8]</div>
<div><br>
</div>
<div>    DataRepresentation1 = Show(ExtractSubset1)</div>
<div>    DataRepresentation1.Representation = 'Volume'</div>
<div>    DataRepresentation1.ColorArrayName = ('CELL_DATA', varname)</div>
<div>    DataRepresentation1.ColorAttributeType = 'CELL_DATA'</div>
<div>    DataRepresentation1.LookupTable  = GetLookupTableForArray(​varname...<br>
</div>
<p><br>
</p>
<p><br>
</p>
<p>Any suggestions?<br>
</p>
<p><br>
</p>
<p>Thanks, <br>
</p>
<p>Jing <br>
</p>
</div>
</body>
</html>