[vtkusers] Smoothing 2D plot in ChartXY
Yuri Timenkov
yuri at timenkov.ru
Thu Jun 23 10:46:26 EDT 2011
Hello,
I have a raw set of 2D data from vtkTable using new vtkChartXY API (function
in time). But it has a lot of peaks and falls and too much details (see
example in attachment). I want to make it look niceer, so I see 3 options:
1. Draw every Nth point.
2. Reduce number of points my averaging adjacent values.
3. Draw kind of envelope.
Does VTK provide any means to do it automatically or I have to prepare data
somehow before plotting?
Thanks in advance,
Yuri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110623/d6f563a2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot1.png
Type: image/png
Size: 12729 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110623/d6f563a2/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot2.png
Type: image/png
Size: 15977 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110623/d6f563a2/attachment-0001.png>
More information about the vtkusers
mailing list