Skip to content

Instantly share code, notes, and snippets.

@suryadutta
Created March 28, 2018 19:43
Show Gist options
  • Save suryadutta/b7942e5cb179e7cf1bee86b6af4e4158 to your computer and use it in GitHub Desktop.
Save suryadutta/b7942e5cb179e7cf1bee86b6af4e4158 to your computer and use it in GitHub Desktop.
Log Log plots for matplotlib
fig = plt.figure()
ax1 = fig.add_subplot(111)
ax1.errorbar(temp,mag,yerr=magstdev,fmt='o')
ax1.set_xscale("log")
ax1.set_yscale("log")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment