Pixel Field (Quiver Plot)#
Added in version 5.2: Pixel Vector Field
The Sensor object with its pixel attribute can be conveniently used to visualize vector fields "B", "H", "M", or "J" as quiver plots. Detailed documentation is available in the styles-pixel-vectorfield section. This notebook provides practical examples and explanations of relevant parameters for effective usage.
Example 1: Transparent Magnet#
A simple example using pixel field functionality, combined with magnet transparency, displays the B field on a surface passing through the magnet.
Example 2: Complex Pixel Grids#
Sensor pixels are not restricted to any specific grid structure and can be positioned freely to represent curved surfaces, lines, or individual points of interest.
The following example demonstrates visualization of the magnetic field of a magnetic pole wheel, evaluated along curved surfaces and lines, using different color maps and arrow shapes.
Example 3: Pixel Field Animation#
Pixel fields can be combined with animation to create spectacular visualizations, such as displaying the magnetic field of rotating magnets.