Matplotlib Tutorial | Create Scatter Plot ,Colorbar (Tutorial 4)

preview_player
Показать описание
Hey Everyone In last We have seen Pie Chart in Today's Video We are going To learn Scatter Plot. Scatter Plot is Mainly use to understand the Correlation Between Two or More variables .
In this Video We will Learn How to set Color Bar to Our Scatter Plot and Also We Will Learn How to Customize Our Scatter Plot .
If You Have Any Question About Scatter Plot Ask Me In Comment Section.

Code: -
===========================================================
from matplotlib import pyplot as plt

x=[1,5,2,6,8,5,3,5,9,3,5,3,7]
y=[9,3,4,6,7,8,9,7,5,4,6,7,4]

color=[1,2,5,7,5,2,4,6,7,8,6,4,6]

============================================================

Data That I used in This Video : -
x=[1,5,2,6,8,5,3,5,9,3,5,3,7]
y=[9,3,4,6,7,8,9,7,5,4,6,7,4]
color=[1,2,5,7,5,2,4,6,7,8,6,4,6]
Рекомендации по теме
Комментарии
Автор

how can I use different colors to the different individual points to plot the graph(for large data)?

sandhyagautam