Hello there!
Inspired by the below image (more here), I’m trying to plot several graphs side-by-side (so to speak) and overlapping to some degree.
Up to now, I tried the following command:
plt.figure(figsize=(10,6))
plt.plot(x,y,'b', linewidth=0.5)
plt.plot(x,z,'g', linewidth=0.5)
plt.plot(y,z,'r', linewidth=0.5)
plt.axis('off')
And I get this (disregard the dark background):
I tried the subplot to no avail:
plt.figure(figsize=(13, 6), dpi=100)
plt.subplot(1, 3, 1) # fila 1, columna 3, index 1
plt.plot(x,y,'b', linewidth=0.5), plt.axis('off')
plt.subplot(1, 3, 2)
plt.plot(x,z,'g', linewidth=0.5), plt.axis('off')
plt.subplot(1, 3, 3)
plt.plot(y,z,'r', linewidth=0.5), plt.axis('off')
As you can see, there is no overlapping, yet there are side-by-side:
According to the person at the lab, he created that image using “zorder”… but I’ve been playing with that and I didn’t get any result close to the one showed first.
Hence, any hints? Happy to listen to your thoughts.