em_map_utils.demos.ortho_surface_views

ortho_surface_views.py

Author:

Ardan Patwardhan

Affiliation:

EMBL-EBI, Wellcome Genome Campus, CB10 1SD, UK

Date:

30/07/2025

Description:

Plot orthogonal surface views in the i, j and k directions of a 3D numpy grid.

Functions

ortho_surface_views(map_grid[, fig_title, color_map, ...])

Plot orthogonal surface views in the i, j and k directions of a

Module Contents

em_map_utils.demos.ortho_surface_views.ortho_surface_views(map_grid, fig_title=None, color_map='YlOrRd', fig_size=(18, 6))

Plot orthogonal surface views in the i, j and k directions of a 3D numpy grid.

Parameters:
  • map_grid – 3D numpy grid.

  • fig_title – Title for the overall figure. Default is None.

  • color_map – Color map of the figure. Default is “YlOrRd”.

  • fig_size – Size of the figure. Default is (7, 21)

Returns:

figure object and subplot objects as tuple (fig, ax).