Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

plt plot grid on

import numpy as np
import matplotlib.pyplot as plt

x = np.array([80, 85, 90, 95, 100, 105, 110, 115, 120, 125])
y = np.array([240, 250, 260, 270, 280, 290, 300, 310, 320, 330])

plt.title("Sports Watch Data")
plt.xlabel("Average Pulse")
plt.ylabel("Calorie Burnage")

plt.plot(x, y)

plt.grid()

plt.show() 
Comment

PREVIOUS NEXT
Code Example
Python :: fiel to base64 python 
Python :: how to download file in python 
Python :: python negation of an statement 
Python :: python continue vs pass 
Python :: python read excel sheet name 
Python :: pandas read csv unnamed 0 
Python :: getting image from path python 
Python :: convert list to binary python 
Python :: source code of Tortoise and hare algorithm in python 
Python :: save timestamp python 
Python :: knn classifier python example 
Python :: python read music stream 
Python :: python loop through list 
Python :: python convert hex to binary 
Python :: how to make a button circular in python 
Python :: openpyxl get last non empty row 
Python :: web server python 
Python :: sklearn rmse 
Python :: python selenium save cookies 
Python :: bisect_left in python 
Python :: on message discord py 
Python :: pandas to pickle 
Python :: python stop daemon thread 
Python :: Installing python module from within code 
Python :: my pygame window wont stay open 
Python :: classes in python with self parameter 
Python :: python how to add picture to label with tkinter 
Python :: print python 
Python :: How to set up flash message in html template in flask app 
Python :: how to sort a list in python using lambda 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =