Skip to main content
Ctrl+K
HyperSpy API has changed in version 2.0, see the release notes!

HyperSpy

  • User Guide
  • Examples
  • Reference
  • Get Help
  • Release Notes
  • Contribute
  • Tutorial
  • GitHub
  • Gitter
  • HyperSpy
  • User Guide
  • Examples
  • Reference
  • Get Help
  • Release Notes
  • Contribute
  • Tutorial
  • GitHub
  • Gitter
  • HyperSpy

Section Navigation

  • Markers
    • Ragged Points
    • Arrow markers
    • Vertical Line Markers
    • Circle Markers with Radius Dependent Coloring
    • Text Markers
    • Line Markers
    • Varying number of arrows per navigation position
    • Circle Markers
    • Filled Circle Markers
    • Rotation of markers
    • Add/Remove items from existing Markers
    • Polygon Markers
    • Ellipse markers
    • Square Markers
    • Star Markers
    • Rectangle Markers
    • Arrow markers
    • Creating Markers from a signal
    • Making Inset Images
    • Transforms and Units
  • Signal Creation
    • Creates a signal1D from a text file
    • Creates a line spectrum
    • Creates a signal1D from tabular data
    • Creates a 3D image
    • Creates a spectrum image
    • Creates a 4D image
  • Data Visualization
    • Composing Figure
    • Specifying Matplotlib Axis
  • Extensions
    • Component convolution
    • Implementation of a model supporting convolution of components
  • Loading, saving and exporting
    • Export single spectrum
    • Adjust contrast and save RGB images
  • Model fitting
    • Plot Residual
    • Simple arctan fit
  • Making Custom Layouts for Plots
    • Creating Custom Layouts
    • ROI Insets
  • Processing
    • Baseline Removal
  • Region of Interest
    • SpanROI on signal axis
    • Create Map from ROI in signal space
    • PolygonROI
    • Navigator ROI
    • Create Map from CircleROI in signal space
    • Live FFT
    • Combine PolygonROI
    • Extract line profile from image interactively
    • Interactive integration of one dimensional signal
  • Simple simulations
    • Simple simulation (2 Gaussians)
  • Gallery of Examples
  • Making Custom Layouts for Plots

Making Custom Layouts for Plots#

Below is a gallery of examples on making simple custom layouts for plotting data using matplotlib.figure.SubFigure.

Note

Plotting data with subfigures is slower than using separates figures.

Creating Custom Layouts

Creating Custom Layouts

ROI Insets

ROI Insets

previous

Simple arctan fit

next

Creating Custom Layouts

This Page

  • Show Source

© Copyright 2011-2025, The HyperSpy development team.

Created using Sphinx 8.2.1.

Built with the PyData Sphinx Theme 0.16.1.