Tharindu-<div><br></div><div>Sorry for being dense, but I have a couple of questions:</div><div><br></div><div>1. Where can we see the current version of your code, in particular the API for controlling it.</div><div><br></div>

<div>2. As a sanity check, can you provide additional examples, or point me to examples, of the eight formats below? In particular, when there is more than one significant digit is the result as obvious as I think it is....is 5,500,000 5.5(M) and so forth?</div>

<div><br>W</div><div><br><div class="gmail_quote">On Mon, Jun 27, 2011 at 4:04 PM, Tharindu De Silva <span dir="ltr"><<a href="mailto:tsameera1@gmail.com">tsameera1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi All,<div><br></div><div>       I am implementing the paper "An Extension of Wilkinson’s Algorithm for Positioning Tick Labels on Axes" published in VisWeek 2010 as part of the Goole Summer of Code Project (GSOC) in VTK. This will replace the functionality of current CalculateNiceMInMax() method in vtkAxis class.  I have done most of the implementation and would like to receive help and feedback from the community to integrate the new class to the current VTK framework.  The main highlights of this work are;</div>


<div><br></div><div>  1 )  Introducing an optimization-based method to calculate tick label positions.  (This will improve the current positioning of the tick labels)</div><div>  2 )  If the algorithm fails to find a good positioning scheme, as a last resort it will try to find optimum tick labels by reducing the font size, changing the orientation of the fonts (from horizontal to vertical) and changing the label formats.</div>


<div> 3  )  Currently,  there are two label formats supported in the API. (i.e. standard and scientific).  This has been extended  to eight different formats in the paper as follows.  </div><div><br></div><div>     1 - Decimal e.g. 5000</div>


<div>     2 - Factored Decimals e.g. 5 (thousands)</div><div>     3 - Thousands K e.g. 5K</div><div>     4 - Factored K e.g. 5(K)</div><div>     5 - Millions M e.g. 5M</div><div>     6 - Factored M e.g. 5(M)</div><div>     7 - Scientific 5 * 10^6</div>


<div>     8 - Factored Scientific 5 (10^6)</div><div><br></div><div>   Currently, there is no method in vtkAxis class that automatically changes the font size, orientation and format of the tick labels based on data.  I would like to get your feedback about the readability of the above formats and get your comments on my code to integrate this work to the current repository.</div>


<div><br></div><div>Thank you very much,</div><div><br></div><font color="#888888"><div>Tharindu  </div><div><br></div>
</font><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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>

<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>