Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

quantile-quantile plot python

#qq plot using numpy and matplotlib

p = np.linspace(0,100,100)
a = np.percentile(x,p)
b = np.percentile(y,p)
plt.plot(a,b, ls="", marker="o")
x = np.linspace(np.min((a.min(),b.min())), np.max((a.max(),b.max())))
plt.plot(x,x, color="r", ls="--")
Comment

PREVIOUS NEXT
Code Example
Python :: how to append two pandas dataframe 
Python :: dtype array 
Python :: python request add header 
Python :: list out the groups from groupby 
Python :: how to write if statement in one line python 
Python :: python return to top of loop 
Python :: get data from kaggle to colab 
Python :: add row to dataframe with index 
Python :: check null all column pyspark 
Python :: python google docs api how to get doc index 
Python :: pandas aggregate dataframe 
Python :: authentication views django 
Python :: python logger format 
Python :: how to merge dictionaries in python 
Python :: sphinx autodoc extension 
Python :: django email 
Python :: check if a file exists in python 
Python :: python machine learning 
Python :: how to post data to foreign key in django rest framework 
Python :: python portfolio projects 
Python :: python tableau 
Python :: python integer to string format 
Python :: gevent with flask 
Python :: python iterate over string 
Python :: python dictionary with list 
Python :: match case in python 
Python :: onedrive python upload 
Python :: django test imagefield 
Python :: python how to print variable value 
Python :: python bin function without 0b 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =