当前位置:网站首页>Know --matplotlib
Know --matplotlib
2022-07-01 23:23:00 【Cold Lane (* _*)】
Catalog
Matplotlib brief introduction
1.Matplotlib It's a python2D Drawing library , It is often used for data visualization .
2.Matplotlib Very powerful , Only a few lines of code are needed to draw various data visual diagrams .
3.Matplotlib It can not only draw the most basic charts , You can also draw some advanced charts : double y Axis visual data analysis chart , Stacked Columns , Gradient pie chart , Contour histogram .
4.Matplotlib You can also draw 3D Of .
Matplotlib install
pip install matplotlib
Three step drawing
1. introduce pyplot modular
2. Use plot Method
3. Run the program


Be careful ,ro It's red
Common settings for charts
Basic drawing main functions
matplotlib.pyplot.plot(x,y,format_string,**kwargs)
x yes x Axis ,y yes y Axis ,format_string String that controls the format of the curve , Including color 、 Line styles and marker styles *kwargs Key value parameter , It's equivalent to a dictionary Line chart test , have a look

Let's have a fun
Build one first Excel

And then use pandas Access to this Excel data , Then make a line chart

边栏推荐
- Redis数据类型和应用场景
- 物联网技术应用属于什么专业分类
- Istio, ebpf and rsocket Broker: in depth study of service grid
- AirServer最新Win64位个人版投屏软件
- window10安装wsl(一)(WslRegisterDistribution ERROR)
- What is the mosaic tailgate?
- Compare the version number [double pointer to intercept the string you want]
- mysql binlog的清理
- 关于游戏性能优化的一些感想
- Leetcode(34)——在排序数组中查找元素的第一个和最后一个位置
猜你喜欢

flutter Unable to load asset: assets/images/888. png

2022 R1 fast opening pressure vessel operation test questions and answers

What is the mosaic tailgate?

马赛克后挡板是什么?

建模和影视后期有什么关联?
![[micro service sentinel] sentinel integrates openfeign](/img/8b/46156255fd980eb422c7e05d5af7ee.png)
[micro service sentinel] sentinel integrates openfeign

Aaai22 | structural tagging and interaction modeling: a "slim" network for graph classification

物联网应用技术专业是属于什么类

Notes to problems - file /usr/share/mysql/charsets/readme from install of mysql-server-5.1.73-1 glibc23.x86_ 64 c
![[applet] realize the left and right [sliding] list through the scroll view component](/img/18/b1b4e9923782856143721dad84cbab.png)
[applet] realize the left and right [sliding] list through the scroll view component
随机推荐
转行软件测试,知道这四点就够了!
AirServer最新Win64位个人版投屏软件
Use 3DMAX to make a chess piece
2022年起重机司机(限桥式起重机)考试试题及模拟考试
Stm32f030f4 drives tim1637 nixie tube chip
数字化转型道阻且长,如何迈好关键的第一步
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
Three development trends of enterprise application from the perspective of the third technological revolution
Jerry's burning of upper version materials requires [chapter]
Microservice stability management
flutter Unable to load asset: assets/images/888.png
window10安装wsl(一)(WslRegisterDistribution ERROR)
Programming English vocabulary notebook
dat.GUI
AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
2022年R1快开门式压力容器操作考题及答案
The difference between timer and scheduledthreadpoolexecutor
Redis数据类型和应用场景
mysql binlog的清理
2022 R1 fast opening pressure vessel operation test questions and answers