Closed Mathadon closed 9 years ago
Filip, I got swamped and missed this. I'm sorry for the delay. Try something like this:
from matplotlib import pyplot as plt
from modelicares import SimRes
sim = SimRes('ChuaCircuit.mat')
sim.plot('L.v', ax1=plt.subplot(121))
sim.plot('L.i', ax1=plt.subplot(122))
plt.show()
The relevant documentation is here, although I admit that solution isn't clear.
If that works for you, feel free to close this issue.
thanks @kdavies4 I'm sure it works but I started using 'regular' matPlotLib plots in the meantime :)
Hi,
I started working with ModelicaRes today. I was exploring the options but I'm stuck at the following.
I'd like to use the subplot command from matplotlib. Intuitively I tried:
but this does not seem to work. I can't seem to find an example in the documentation either. How can I approach this?
Thank you!