[vtkusers] PrintAsCSV

David E DeMarle dave.demarle at kitware.com
Thu Oct 20 10:09:28 EDT 2005


This code snippet is adapted from ParaView, where the method is used:

...
  vtkXYPlotActor *xy = anXYPlotActor;
  ofstream f;
  f.open( "SomeFileName.txt" );
  if (!f.good())
    {
    vtkErrorMacro("XYPlot save file open did not succeed.");
    }
  else
    {
    xy->PrintAsCSV(f);
    f.close();
    }
...

cheers,
Dave DeMarle

Frnard Cimary wrote:

>Dear VTK Users,
>
>Any one can provide me of a simple example on how to
>use VTKXYPlotActor's PrintAsCSV ?
>
>Frnard 
>
>
>	
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>_______________________________________________
>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
>
>  
>




More information about the vtkusers mailing list