[vtkusers] Pbm legend axis
Muriel Delaveau
Muriel.Delaveau at cea.fr
Mon Jan 30 04:06:15 EST 2006
I don't know how to put a vertical legend to an y axis when I only plot
in 2 dimensions. I try somez ways but it doesn't work
HistoActor->GetPositionCoordinate()->SetValue(0.025, 0.025, 0.);
HistoActor->GetPosition2Coordinate()->SetValue(0.975, 0.975, 0.);
vtkAxisActor2D * Axey = HistoActor->GetYAxisActor2D();
vtkTextProperty* tprop = HistoActor->GetTitleTextProperty();
tprop->SetOrientation(90.0);
tprop->SetColor(0., 0., 0.);
Axey->SetTitleTextProperty(tprop);
M. Delaveau
More information about the vtkusers
mailing list