Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- Python
- pie charts
- For loops
- AS
- Else
- data distribution
- matplotlib.pyplot
- line width
- multiple lines
- self parameter
- SQL
- polynomial regression
- variables
- Text Analytics
- Github
- line color
- break
- matplotlib
- Text mining
- __init__
- start exercise
- iterates
- MySQL
- PROJECT
- continue
- PANDAS
- Default X points
- train/test
- error
- machine learning
Archives
- Today
- Total
목록Labels (1)
Data Science Explorer

Create Labels for a Plot You can use title(), xlabel(), and ylabel() functions give names for title, x-axis, and y-axis. Example import matplotlib.pyplot as plt import numpy as np x = np.array([80, 85, 90, 95, 100, 105, 110, 115, 120, 125]) y = np.array([240, 250, 260, 270, 280, 290, 300, 310, 320, 330]) plt.plot (x, y) plt.title("Heights Data") plt.xlabel("Average Height") plt.ylabel("Average W..
Python
2023. 11. 5. 10:13