[vtkusers] Smoothing 2D plot in ChartXY

Jothy jothybasu at gmail.com
Thu Jun 23 10:50:34 EDT 2011


One way is to reduce the thickness of the lines and the other is to change
the opacity of the actors.

Jothy

On Thu, Jun 23, 2011 at 3:46 PM, Yuri Timenkov <yuri at timenkov.ru> wrote:

> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110623/c47d329c/attachment.htm>


More information about the vtkusers mailing list