Commit 8198ed67 authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Do not place 0° axis title to avoid cluttering with labels

Change-Id: I3e8b53a20d3f2afaa6d3b0a951b56b234f4081b0
parent e896cb40
......@@ -451,7 +451,7 @@ void vtkPolarAxesActor::BuildAxes( vtkViewport *viewport )
axis->SetRange( 0., this->MaximumRadius );
axis->SetMajorTickSize( .02 * this->MaximumRadius );
// Set axis title (except for polar axis to avoid cluttering)
// Set axis title (except for polar axis to avoid title/label clutter)
if ( i )
{
vtksys_ios::ostringstream thetaStream;
......@@ -460,6 +460,7 @@ void vtkPolarAxesActor::BuildAxes( vtkViewport *viewport )
{
thetaStream << " deg.";
}
axis->SetTitle( thetaStream.str().c_str() );
}
}
......
Supports Markdown
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