Skip to content

Pixels, Points and Markers

Pixels

Pixels (2D)

Pixels (2D)

This example shows the Pixels visual where pixels are spread randomly inside a square that can be zoomed using the mouse and an orthographic camera.

Keyword: pixels, matplotlib, orthographic
Code: pixels-2d.py


Pixels (3D)

Pixels (3D)

This example show the Pixels visual where pixels are spread randomly inside a cube that can be rotated and zoomed using the mouse and a perspective camera

Keyword: pixels, matplotlib, perspective
Code: pixels-3d.py


Pixels (color)

Pixels (colors)

This example show the Pixels visual where pixels are spread randomly inside a cube and colored according to their position.

Keyword: pixels, colors
Code: pixels-colors.py


Pixels (colormap)

Pixels (colormap)

This example shows the Pixels visual where pixels are colored according to screen coordinates (x,y) or depth (z) using a colormap.

Keyword: pixels, colormap, transform, screen
Code: pixels-colormap.py

Points

Point (2D)

Points (2D)

This example shows the Points visual with different sizes can be zoomed using the mouse and an orthographic camera.

Keyword: points, matplotlib, orthographic
Code: points-3d.py


Point (3D)

Points (3D)

This example shows the Points visual with different sizes can be roated and zoomed using the mouse and a perspective camera. Points size and linewidth are updated according to zoom level.

Keyword: points, matplotlib, perspective, zoom
Code: points-3d.py


Point (colormap)

Points (Colormap)

This example shows the Points visual where point colors are set according to their depth (screen coordinate) and a colormap (magma). This results in dynamic colors where most front points are alwyas painted with the same color.

Keyword: points, matplotlib, transform, colormap
Code: points-colormap.py

Markers

Makers (2D)

Markers (2D)

This example shows the Markers visual with different sizes and angles and can be zoomed using the mouse and an orthographic camera.

Keyword: markers, matplotlib, orthographic
Code: markers-2d.py


Makers (3D)

Markers (3D)

This example shows the Markers visual with different sizes and angles and can be zoomed using the mouse and a perspecive camera.

Keyword: markers, matplotlib, orthographic
Code: markers-3d.py