Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

plot function in numpy

import numpy as np 
from matplotlib import pyplot as plt 

x = np.arange(1,11) 
y = 2 * x + 5 
plt.title("Matplotlib demo") 
plt.xlabel("x axis caption") 
plt.ylabel("y axis caption") 
plt.plot(x,y) 
plt.show()
Comment

PREVIOUS NEXT
Code Example
Python :: python multiply list by scalar 
Python :: python check if there is internet 
Python :: python password generator 
Python :: tkinter bind to window close 
Python :: python check if a variable is an pandaDataframe 
Python :: find the item with the maximum number of occurrences in a list in Python 
Python :: how to open an external file in python 
Python :: python 2 decimal places 
Python :: desktop background change with python 
Python :: python filter None dictionary 
Python :: python selenium switch to window 
Python :: delete unnamed 0 columns 
Python :: create new django app 
Python :: keras import optimizer adam 
Python :: selenium-screenshot python 
Python :: matplotlib add space between subplots 
Python :: python check if folder is empty 
Python :: django-admin command not found 
Python :: Install requests-html library in python 
Python :: python runtime 
Python :: mongodb between two values 
Python :: multiple variable input in python 
Python :: installing wxpython on windows 10 
Python :: shift elements in list python 
Python :: python check my gpu 
Python :: list to csv pandas 
Python :: df dropna ensure that one column is not nan 
Python :: column standardization pandas 
Python :: pip version command 
Python :: python cd to script directory 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =