Commit 0d7b6bc0 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

ENH: Renamed to TICK_WILKINSON_EXTENDED.

This is the extended Wilkinson algorithm, changed to be more explicit at
Tharindu's suggestion.

Change-Id: I45113b802d12442475c8e660f25c300fecf91237
parent 213fb5a8
......@@ -67,9 +67,9 @@ int TestLinePlot2(int, char * [])
// Tell the axes to use the new tick label placement algorithm.
chart->GetAxis(vtkAxis::LEFT)
->SetTickLabelAlgorithm(vtkAxis::TICK_WILKINSON);
->SetTickLabelAlgorithm(vtkAxis::TICK_WILKINSON_EXTENDED);
chart->GetAxis(vtkAxis::BOTTOM)
->SetTickLabelAlgorithm(vtkAxis::TICK_WILKINSON);
->SetTickLabelAlgorithm(vtkAxis::TICK_WILKINSON_EXTENDED);
// Finally, render the scene.
view->GetRenderWindow()->SetMultiSamples(0);
......
......@@ -733,7 +733,7 @@ void vtkAxis::GenerateTickLabels(double min, double max)
}
else
{
if (this->TickLabelAlgorithm == vtkAxis::TICK_WILKINSON)
if (this->TickLabelAlgorithm == vtkAxis::TICK_WILKINSON_EXTENDED)
{
// Now calculate the tick labels, and positions within the axis range
//This gets the tick interval and max, min of labeling from the Extended
......
......@@ -55,7 +55,7 @@ public:
enum {
TICK_SIMPLE = 0,
TICK_WILKINSON
TICK_WILKINSON_EXTENDED
};
// Description:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment