[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] Smoothing 2D plot in ChartXY
From:       "Marcus D. Hanwell" <marcus.hanwell () kitware ! com>
Date:       2011-06-29 15:46:37
Message-ID: BANLkTi=LBeFdihxiG2WbqdmRigcOt5Bq9w () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jun 23, 2011 at 10:46 AM, Yuri Timenkov <yuri@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:
>
> Draw every Nth point.
> Reduce number of points my averaging adjacent values.
> Draw kind of envelope.
>
> Does VTK provide any means to do it automatically or I have to prepare data
> somehow before plotting?

I am not aware of any filters that do that, but this kind of thing
could be made into a filter. It would be good to get a few of the
commonly used algorithms encapsulated into some filters for treating
chart data, and the pipeline would be the right place to do it.

Marcus
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic