Matplotlib Tutorial 4 - Scatter Plots

preview_player
Показать описание
Next up, we cover scatter plots! The idea of scatter plots is usually to compare two variables, or three if you are plotting in 3 dimensions, looking for correlation or groups.

Рекомендации по теме
Комментарии
Автор

The "I will fight you" at 3:31 resonates with me and my daily coding experience.

lukehebert
Автор

You are fuckin amazing!!!! thanks for these!

tomasenrique
Автор

your tutorials rock. I am learning pyplots very easily through them.

balamuruganmuthu
Автор

Again, very helpful!!! Here is scatter plot that I did that has two sets of data (males vs females) doing a scatter plot of height vs weight...# scatter plot#import matplotlib.pyplot as plt
x1=[68, 74, 69, 68, 72, 66, 71]
y1=[145, 157, 158, 182, 204, 144, 198]#x2=[61, 63, 65, 67, 69]
y2=[107, 118, 122, 144, 132]#plt.scatter(x1, y1, label="Males", marker="+", s=100)
plt.scatter(x2, y2, label="Females", marker="o")#plt.xlabel("Height(inches)")
plt.ylabel("Weight(pounds)")
plt.title("Interesting graph\nHeight vs weight")
plt.legend()
plt.show()

anon
Автор

i love ur videos!! they're make me easier to understand. thankful

alfayaya
Автор

Where do you write the codes before you run them ? …… Vs studio ? Or what . I don’t know what Microsoft app I’m supposed to use to write my python codes

temiladeadeniran
Автор

What's going on everybody? Welcome to tutorial video. In this
Btw, you are great :)

mudit
Автор

hey man Thanks for all these video I will go give you fucking something good some day to make up for the goods you are doing to all of us
least is I remember your name and I'll tell my colleagues

amirelmtalab
Автор

1:10 lol that pause while he’s whether or not to name it scat

TroubleMakery
Автор

Did anyone ever told you that you look like "MARK ZUCKERBERG" *.*

AdarshSingh-qkrj
Автор

godammit, i need to make a bubble plot after merging data from 2 csv files into one dataframe and after making calculations on the data to produce another dataframe from which I'll make a bubble plot. nothing, no where do I see how to do. Every fucking video uses numpy and random. god fucking dammit

kennyb
Автор

Wanna kno how to plot value of the bar at the top..i have used solutions on internet...but each value is not coming above the bar...both the values are coming at the top of the bar...can you help?

littleindianmuchkin
Автор

Could any intelligent human tell me how can I animate vectors (arrows) in Matplotlib. I've tried many different ways and they either not move the vector or Python gives an error (something like: You can not update data from vector, plt/ax.arrow).
I'm a noob and I've been stuck for a while with this problem, so I would really appreciate ANY idea.
Thanks

josesaldanamoreno
Автор

Well done. I keep picking up helpful bits and pieces of what I need here. Looking forward to more. Source documentation is difficult to understand for me by myself.

mitchellfolbe
Автор

Hi, could you explain the best way to turn a continuous function into an array? If say, y = sin(x) and x = linspace(1, 10, 11), is there a snappy way to plot without making an array of y values?

jalster
Автор

Sir, how to use x, y and one more variable and plot on a map, where x is longitude and y is latitude. If we give this from a csv file?

musaidpp
Автор

How can we get the fitting line from this skitscat if we have already estimated by OLS fuction?

罗敏-tr
Автор

Hi, I copied the code exactly but it is not showing label in the right top corner of the scatter plot box.

NikhilKumar-pzuz
Автор

How would you make a scatter plot, when the X-axis is date and y is price, like in stock data? Can we convert the dates to some integer to use?

PhantomKenTen
Автор

It's awesome, though it's 2020 already.

ngoer