biosspheres.utils.drawing#

Functions

draw_cut_with_call(cut, center, horizontal, ...)

template_3d_surface_plot(vector, ...)

biosspheres.utils.drawing.template_3d_surface_plot(vector: ndarray, normalized_surface_field: ndarray, vmin: float, vmax: float, x_label: str, y_label: str, z_label: str, title: str, str_color_bar: str, color) → None[source]#
Parameters:
  • vector (np.ndarray) – Three dimensions, the first one has length 3.

  • normalized_surface_field (np.ndarray) – Two dimensions, their lengths match the lengths of vector[0,:,:]

  • vmin (float) – Minimal value of the surface field (before normalization).

  • vmax (float) – Maximal value of the surface field (before normalization).

  • x_label (str)

  • y_label (str)

  • z_label (str)

  • title (str) – Title of the plot.

  • str_color_bar (str) – Label of the color bar.

  • color (a color map) – For the surface colors.