Pbm legend axis

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Pbm legend axis

Muriel Delaveau
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
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers