[vtkusers] Smoothing 2D plot in ChartXY

Yuri Timenkov yuri at timenkov.ru
Thu Jun 23 11:05:57 EDT 2011


Ah yes, this could make them look differently.

But lines were made thicker because I want to present them on slides, and
thick lines are more visible.

For printing I have another "theme", where lines are thin, but have
different markers or strokes.

I want to reduce the overall detail of picture, because if I have several
graphs on the same picture, the latter becomes complete mess anyways.

Thanks,
Yuri

On Thu, Jun 23, 2011 at 6:50 PM, Jothy <jothybasu at gmail.com> wrote:

> 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/1397c962/attachment.htm>


More information about the vtkusers mailing list