[vtkusers] Please help with the 2D plotting class vtkxyplotactor?
    Harlow Eric D Contr 412 TW/ENR 
    Eric.Harlow at edwards.af.mil
       
    Thu Oct 14 20:36:26 EDT 2004
    
    
  
 
Hello,
I am trying to set tick marks in my 2D plot. I realize this should be easy,
but nothing happens when I execute the following code.  It steps into the
macros for setting the various values, but to my dismay no tick marks
appear. 
Here is the code I am using.
	vtkAxisActor2D* myXAxis = PlotActor_->GetXAxisActor2D();
	vtkAxisActor2D* myYAxis = PlotActor_->GetYAxisActor2D();
	myXAxis->SetTickLength(10);
	myXAxis->SetTickOffset(1);
	myXAxis->SetTickVisibility(1);
	myXAxis->TickVisibilityOn();
Any help is appreciated.
Thanks again,
Eric
    
    
More information about the vtkusers
mailing list