[vtkusers] vtkXYPlot to Image

marisa aurelio asiram00 at hotmail.com
Mon Feb 16 07:45:39 EST 2004


Hi U All,

I have this piece of code:

  vtkXYPlotActor *xyplot = vtkXYPlotActor::New();
    xyplot -> AddDataObjectInput(plot);
    xyplot -> SetDataObjectPlotModeToRows();
    ...
    xyplot -> SetPlotColor(0,1,1,0);

    ren->SetBackground(0.1,0.2,0.4);
    ren->AddActor2D(xyplot);

which corresponds to the creation of a xyPlot object.

What I want to know is, IF IT IS POSSIBLE TO SAVE AN IMAGE (bmp, jpg, etc) 
WITH THIS PLOT ???

Thanks very much for your help.

Marisa

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




More information about the vtkusers mailing list