[vtkusers] Contourf 2D plot using VTK primitives

Ruben Di Battista rubendibattista at gmail.com
Sun Sep 23 07:46:00 EDT 2018


Hello,

I’m collecting statistics from a vtkPolyData, they’re bi-variate pdfs, and
I would like to plot them in a 2D contour plot.

I would like to avoid to add additional dependencies in the project (as
matplotlib-cpp for example) if possible… Is it possible to achieve
something similar to the matplotlib contourf
<https://matplotlib.org/gallery/images_contours_and_fields/contour_corner_mask.html#sphx-glr-gallery-images-contours-and-fields-contour-corner-mask-py>
method
in VTK?

So what I would like to achieve is a filter that takes tabular data in
input and renders them in a 2D `contourf` plot.

Thanks in advance,

          _
-.     .´  |∞∞∞∞
  ',  ;    |∞∞∞∞∞∞
    ˜˜     |∞∞∞∞∞∞∞∞∞ RdB
    ,.,    |∞∞∞∞∞∞
  .'   '.  |∞∞∞∞
-'       `’
https://rdb.is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180923/01881dab/attachment.html>


More information about the vtkusers mailing list