Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

3/29/24, 4:01 PM Added Label for Scattered Graphs · atharvaunde/Data-Analytics-Lab@f75baf9 · GitHub

atharvaunde / Data-Analytics-Lab Public

Code Issues Pull requests Actions Projects Security Insights

Commit

Added Label for Scattered Graphs Browse files


master

Atharva Unde committed on Jun 30, 2019

1 parent db826fb commit f75baf9

Showing 1 changed file with 27 additions and 0 deletions. Whitespace Ignore whitespace Split Unified

27 1.IRIS Dataset Analysis/iris.py

22 22 plt.show()
23 23
24 24 plt.scatter(df["Sepal-length"], df["Sepal-width"])
25 + plt.xlabel('Sepal Length')
26 + plt.ylabel('Sepal Width')
25 27 plt.show()
26 28
27 29 plt.scatter(df["Sepal-length"], df["Petal-length"])
30 + plt.xlabel('Sepal Length')
31 + plt.ylabel('Petal Width')
32 +
33 +
28 34 plt.show()
29 35
30 36 plt.scatter(df["Sepal-length"], df["Petal-width"])
37 + plt.xlabel('Sepal Length')
38 + plt.xlabel('Petal Width')
31 39 plt.show()
32 40
33 41 plt.scatter(df["Sepal-width"], df["Sepal-length"])
42 + plt.xlabel('Sepal Width')
43 + plt.ylabel('Sepal Length')
34 44 plt.show()
35 45
36 46 plt.scatter(df["Sepal-width"], df["Petal-length"])
47 + plt.xlabel('Sepal Width')

https://github.com/atharvaunde/Data-Analytics-Lab/commit/f75baf99945df2bb8ea4042a651ff125932b88cd 1/2
3/29/24, 4:01 PM Added Label for Scattered Graphs · atharvaunde/Data-Analytics-Lab@f75baf9 · GitHub

48 + plt.ylabel('Petal Length')
37 49 plt.show()
38 50
39 51 plt.scatter(df["Sepal-width"], df["Petal-width"])
52 + plt.xlabel('Sepal Width')
53 + plt.ylabel('Petal Width')
40 54 plt.show()
41 55
42 56 plt.scatter(df["Petal-length"], df["Sepal-length"])
57 + plt.xlabel('Petal Length')
58 + plt.ylabel('Sepal Length')
43 59 plt.show()
44 60
45 61 plt.scatter(df["Petal-length"], df["Sepal-width"])
62 + plt.xlabel('Petal Length')
63 + plt.ylabel('Sepal Width')
46 64 plt.show()
47 65
48 66 plt.scatter(df["Petal-length"], df["Petal-width"])
67 + plt.xlabel('Petal Length')
68 + plt.ylabel('Petal Width')
49 69 plt.show()
50 70
51 71 plt.scatter(df["Petal-width"], df["Sepal-length"])
72 + plt.xlabel('Petal Width')
73 + plt.xlabel('Sepal Length')
52 74 plt.show()
53 75
54 76 plt.scatter(df["Petal-width"], df["Sepal-width"])
77 + plt.xlabel('Petal Width')
78 + plt.xlabel('Sepal Width')
55 79 plt.show()
56 80
81 +
57 82 plt.scatter(df["Petal-width"], df["Petal-length"])
83 + plt.xlabel('Petal Width')
84 + plt.yxlabel('Petal Length')
58 85 plt.show()

0 comments on commit f75baf9


Please sign in to comment.

https://github.com/atharvaunde/Data-Analytics-Lab/commit/f75baf99945df2bb8ea4042a651ff125932b88cd 2/2

You might also like