Skip to content

Instantly share code, notes, and snippets.

@HectorTorres
Created January 21, 2021 05:26
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 HectorTorres/effe97de149c1b5f01af0895843a8efe to your computer and use it in GitHub Desktop.
Save HectorTorres/effe97de149c1b5f01af0895843a8efe to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
import numpy as np
import math
x = np.linspace(0, 10, 5000)
fig, ax = plt.subplots() # Crea la figura y los ejes.
ax.plot(x, x*x) # Grafica una funcion cuadratica
plt.show() # Llama a la grafica para que se muestre.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment