[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    [vtk-developers] VTK GSOC Project - Tick label positioning
From:       Tharindu De Silva <tsameera1 () gmail ! com>
Date:       2011-06-27 20:04:49
Message-ID: BANLkTimDofSW+7u95xWdjBsEdRs1XP1HZg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi All,

       I am implementing the paper "An Extension of Wilkinson=92s 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;

  1 )  Introducing an optimization-based method to calculate tick label
positions.  (This will improve the current positioning of the tick labels)
  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.
 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.

     1 - Decimal e.g. 5000
     2 - Factored Decimals e.g. 5 (thousands)
     3 - Thousands K e.g. 5K
     4 - Factored K e.g. 5(K)
     5 - Millions M e.g. 5M
     6 - Factored M e.g. 5(M)
     7 - Scientific 5 * 10^6
     8 - Factored Scientific 5 (10^6)

   Currently, there is no method in vtkAxis class that automatically change=
s
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.

Thank you very much,

Tharindu

[Attachment #5 (text/html)]

Hi All,<div><br></div><div>=A0 =A0 =A0 =A0I am implementing the paper &quot=
;An Extension of Wilkinson=92s Algorithm for Positioning Tick Labels on Axe=
s&quot; published in VisWeek 2010 as part of the Goole Summer of Code Proje=
ct (GSOC) in VTK. This will replace the functionality of current CalculateN=
iceMInMax() method in vtkAxis class. =A0I have done most of the implementat=
ion and would like to receive help and feedback from the community to integ=
rate the new class to the current VTK framework. =A0The main highlights of =
this work are;</div>
<div><br></div><div>=A0 1 ) =A0Introducing an optimization-based method to =
calculate tick label positions. =A0(This will improve the current positioni=
ng of the tick labels)</div><div>=A0 2 ) =A0If the algorithm fails to find =
a good positioning scheme, as a last resort it will try to find optimum tic=
k labels by reducing the font size, changing the orientation of the fonts (=
from horizontal to vertical) and changing the label formats.</div>
<div>=A03 =A0) =A0Currently, =A0there are two label formats supported in th=
e API. (i.e. standard and scientific). =A0This has been extended =A0to eigh=
t different formats in the paper as follows. =A0</div><div><br></div><div>=
=A0 =A0 =A01 - Decimal e.g. 5000</div>
<div>=A0 =A0 =A02 - Factored Decimals e.g. 5 (thousands)</div><div>=A0 =A0 =
=A03 - Thousands K e.g. 5K</div><div>=A0 =A0 =A04 - Factored K e.g. 5(K)</d=
iv><div>=A0 =A0 =A05 - Millions M e.g. 5M</div><div>=A0 =A0 =A06 - Factored=
 M e.g. 5(M)</div><div>=A0 =A0 =A07 - Scientific 5 * 10^6</div>
<div>=A0 =A0 =A08 - Factored Scientific 5 (10^6)</div><div><br></div><div>=
=A0 =A0Currently, there is no method in vtkAxis class that automatically ch=
anges the font size, orientation and format of the tick labels based on dat=
a. =A0I 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 curr=
ent repository.</div>
<div><br></div><div>Thank you very much,</div><div><br></div><div>Tharindu =
=A0</div><div><br></div>


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic