[vtkusers] PrintAsCSV
Frnard Cimary
frnard80 at yahoo.com
Thu Oct 20 10:21:02 EDT 2005
Hey Dave,
Thanks a lot for the quick reply, I got the file but I
didn't understand the output:
"
58593,763,693,246,196,144,58,416,806,241,100,128,222,401,193,175,468,238,191,297,594,1092,1516,1710,1763,2253,3108,3857,4169,4938,6183,8048,11584,15610,16036,11795"
if I want to replot for example in Excel is this
possible using these values ?
I really look forward to hear from you,
Frnard
--- David E DeMarle <dave.demarle at kitware.com> wrote:
> 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
> >
> >
> >
>
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the vtkusers
mailing list