That is correct Stephane. Naming the components &quot;0&quot;, &quot;1&quot; etc will give you the names you are expecting in  the calculator display and the color legened.<br><br><div class="gmail_quote">On Fri, Jun 4, 2010 at 8:46 AM, Stephane PLOIX <span dir="ltr">&lt;<a href="mailto:stephane.ploix@edf.fr">stephane.ploix@edf.fr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><font size="2" face="sans-serif">I suspect that you named the array &quot;H&quot;,
and the components &quot;H_0&quot;, &quot;H_1&quot; etc... right?</font>
<br><font size="2" face="sans-serif">With the current logic, you should instead
name the array &quot;H&quot;, and the components &quot;0&quot;, &quot;1&quot;
etc</font>
<br>
<br><font size="2" face="sans-serif">The name presented in the calculator
is given by the aggregation of the array name and component name : ArrayName_CompName<br>
<br>
Stephane<br>
</font>
<table>
<tbody><tr valign="top">
<td rowspan="2"><font size="2" face="sans-serif"> </font><img src="cid:_1_09A1B76409A1B37C0045B89FC1257738"><font size="2" face="sans-serif">
</font>
</td><td><font size="1" face="sans-serif"> </font>
</td></tr><tr valign="top">
<td><font size="1" color="#ff8100" face="Arial"><b>Stephane PLOIX</b></font><font size="1" color="#ff8100" face="Arial"><b><br>
Pilote Opérationnel - Visualisation scientifique</b></font><font size="1" color="#0062e1" face="Arial"><br>
EDF - R&amp;D<br>
SINETICS<br>
1, Av du Général de Gaulle<br>
92140 Clamart</font><font size="1" color="#0062e1" face="sans-serif"><br>
 </font>
<br><font size="1" color="#0062e1" face="Arial"><b><a href="mailto:stephane.ploix@edf.fr" target="_blank">stephane.ploix@edf.fr</a></b></font>
<br><font size="1" color="#0062e1" face="Arial">Tél. : +33 (0) 1 47 65 51
10</font>
</td></tr><tr>
<td valign="top"><font size="2" face="sans-serif"> </font><img src="cid:_1_09A1C6A409A1C2BC0045B89FC1257738"><font size="2" face="sans-serif">
</font>
</td><td><font size="1" color="#0062e1" face="Arial">Un geste simple pour l&#39;environnement,
n&#39;imprimez ce message que si vous en avez l&#39;utilité.</font></td></tr></tbody></table>
<br>
<br>
<br>
<br>
<p></p><table width="100%">
<tbody><tr valign="top">
<td width="40%"><div class="im"><font size="1" face="sans-serif"><b><a href="mailto:jfavre@cscs.ch" target="_blank">jfavre@cscs.ch</a></b> </font>
<br><font size="1" face="sans-serif">Envoyé par : <a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a></font>
</div><p><font size="1" face="sans-serif">04/06/2010 14:16</font>
</p></td><td width="59%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">A</font></div>
</td><td>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td><font size="1" face="sans-serif"><a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">Objet</font></div>
</td><td><font size="1" face="sans-serif">Re: [Paraview] RE  data array multi-component
labelling</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
</td><td></td></tr></tbody></table>
<br></td></tr></tbody></table><div><div></div><div class="h5">
<br>
<br>
<br><tt><font size="2"><br>
From: Stephane PLOIX [<a href="mailto:stephane.ploix@edf.fr" target="_blank">stephane.ploix@edf.fr</a>]<br>
Sent: Friday, June 04, 2010 12:33 PM<br>
To: Favre  Jean<br>
Cc: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
Subject: RE [Paraview] data array multi-component labelling<br>
<br>
Hi Jean,<br>
<br>
In the current paraview master, you can name each components of and array.
You have a new method vtkAbstractArray::SetComponentName() for this.<br>
If set, those component names appear in place of the traditionnal X, Y
et and Z suffixes.<br>
-----------------<br>
<br>
thanks Stephane,<br>
<br>
the method SetComponentName is exactly what I needed. The Coloring menu
now perfectly shows each component labelled, for example, H_0 and H_1 for
Hydrogen.<br>
<br>
However, it has a side effect which is worse than the previous state. The
Calculator, now shows all labels with a double underscore as in H_H_0,
H_H_1 for Hydrogen.<br>
I suspect that other filters which decompose array names with the underscore
postfix would have the same problem. I am guessing Calculator is not aware
that the components are already named. <br>
<br>
Comments?<br>
<br>
<br>
Jean M. Favre<br>
Swiss National Supercomputing Center<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</font></tt>
<br></div></div><pre>Ce message et toutes les pièces jointes (ci-après le &#39;Message&#39;) sont établis à l&#39;intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n&#39;êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d&#39;en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n&#39;en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d&#39;en avertir immédiatement l&#39;expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the &#39;Message&#39;) are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
</pre><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br>