[Paraview] plot colors: function value -> RGB tuple

2017-12-14 Thread Nico Schlömer
Hi everyone, I need to plot complex-valued functions over various domains, and instead of splitting the values into real and imaginary part (or absolute value and angle), I would like to use a "2D colormap" approach as sometimes suggested for complex-valued functions (see, e.g., [1]). As a lowkey

Re: [Paraview] plot colors: function value -> RGB tuple

2017-12-14 Thread Moreland, Kenneth
You can achieve this by writing making a filter that creates a 3D vector field where each vector represents an RGB color. If writing out floating point values, the color channel values should be between 0 and 1. You can then render this 3D vector field directly as colors by turning off the “Map