<div dir="ltr">Hi Shiyuan,<div><br></div><div>The scalar bar label is taken from the name of the array in the "Coloring" property. By renaming the array to a string containing tex markup (such as "$\pi^2$") you can get special characters, superscripts, etc.</div>
<div><br></div><div>There might be an easier way to do this, but arrays can be renamed with the Calculator filter:</div><div><br></div><div>1) Add a calculator filter</div><div>2) Set "Attribute Mode" to Point Data or Cell Data</div>
<div>3) Select the input array using the "Scalars" or "Vectors" pulldown menus</div><div>4) Set the "Result Array Name" to the tex string</div><div>5) Change the "Coloring" array to the new array</div>
<div><br></div><div>Hope this helps,</div><div>Dave</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 21, 2013 at 10:54 AM, Shiyuan Gu <span dir="ltr"><<a href="mailto:shiyuangu@gmail.com" target="_blank">shiyuangu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, <div> Is there a way to use tex notation(ie, superscript) in the label of the color scalar bar? Thanks. </div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>Shiyuan </div></font></span></div>
<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></div>