XYPlotActor..
Vetle Roeim
vetler at ifi.uio.no
Mon May 22 10:03:50 EDT 2000
on 2000-05-22, owner-vtkusers at public.kitware.com wrote:
>
> I am trying to use this class and have a few questions.
>
> 1) The two positions that specify the plotting rectangle - documentation
> says
> it should be in viewport coordinates (I assume 0-1, 0-1). But, on my
> render
> window (about 512x512), this appears as tiny plot on the lower left
> corner.
> Increasing this to size of window scales this up to the whole
> window. I must
> be doing something silly, as I dont see any complaints from the
> archives.
I'm not sure I understand your problem, but I use the following to scale
the xyplotactor to occupy the whole window:
vtkXYPlotActor *xyplot = vtkXYPlotActor::New();
xyplot->GetProperty()->SetColor( 0, 0, 0 );
xyplot->SetPosition( 0, 0 );
xyplot->SetWidth( 1.0 );
xyplot->SetHeight( 1.0 );
vr
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list