Skip to content

Instantly share code, notes, and snippets.

@Opiprog
Created May 2, 2013 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Opiprog/5501267 to your computer and use it in GitHub Desktop.
Save Opiprog/5501267 to your computer and use it in GitHub Desktop.
Plot legend with Matplotlib
plot(x,g1, label='major axis')
plot(y,g2, label='minor axis')
legend()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment