Combining plots with Python

7 visualizaciones (últimos 30 días)
Mateusz Pieniak
Mateusz Pieniak el 23 de Oct. de 2016
Respondida: AKennedy el 11 de Feb. de 2025
Dear Community,
I would like to know if there's a possibility to merge MATLAB's plots with the ones created in Python by matplotlib? If so, how can I do that?
Thanks in advance, Quittend

Respuestas (1)

AKennedy
AKennedy el 11 de Feb. de 2025
There is no direct way to combine MATLAB and python plots, but there is tweek that you can try:
  • Create your plots in MATLAB and save them as image files (e.g., PNG).
  • Load these images in Python using Matplotlib and overlay them on your existing Python plots.
By doing this you will be able to combine MATLAB and Python plots with matplotlib.

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by