Skip to content

Instantly share code, notes, and snippets.

@joeyoun9
Created April 28, 2013 17:41
Show Gist options
  • Save joeyoun9/5477678 to your computer and use it in GitHub Desktop.
Save joeyoun9/5477678 to your computer and use it in GitHub Desktop.
As opposed to all the silly methods of creating non-symmetric plots in matplolib, i just found that this works!
#!/usr/bin/env python
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(3)
y = x
plt.subplot(211)
plt.plot(x,x)
plt.subplot(223)
plt.plot(x,x)
plt.subplot(224)
plt.plot(x,x)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment