当前位置:网站首页>Data output - image annotation and annotation
Data output - image annotation and annotation
2022-07-28 02:06:00 【Falling gold】
Mark which line is what in the upper right corner , It's called adding a legend : plt.legend()
Give the picture a name : plt.titlt(' Picture name ')
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0, 2, 100)
# Example 1
plt.figure()
plt.plot(x, x+2, label='linear')
plt.plot(x, x**2, label='quadratic')
plt.plot(x, x**3, label='cubic')
plt.xlabel('x label')
plt.ylabel('y label')
plt.title("Legend Example 1")
plt.legend()
plt.show()Further more , See the following links for other annotation methods
utilize python Draw a line _python_ Script house (jb51.net)
Mark a point separately :
python Notes for each line on the picture _# Bread and butter blog -CSDN Blog
边栏推荐
- Cloud native enthusiast weekly: the evolution of Prometheus architecture
- Hcip 13th day notes
- 轻量版项目管理系统
- Huawei app UI automation test post interview real questions, real interview experience.
- In the era of great changes in material enterprises, SRM supplier procurement system helps enterprises build a digital benchmark for property procurement
- A happy old age
- Zkrollup learning materials summary
- Small bulk quantitative stock trading record | data is the source in the quantitative system, which teaches you to build a universal data source framework
- Software testing interview question: what do you think is the key to good test case design?
- Gbase 8C transaction ID and snapshot (IV)
猜你喜欢

机器学习如何做到疫情可视化——疫情数据分析与预测实战
![[Taichi] draw a regular grid in Tai Chi](/img/48/14e825562afa3ffba96296799617f7.png)
[Taichi] draw a regular grid in Tai Chi

Flex布局学习完成PC端

HyperMesh circular array - plug in

In the era of great changes in material enterprises, SRM supplier procurement system helps enterprises build a digital benchmark for property procurement

Starfish Os X MetaBell战略合作,元宇宙商业生态更进一步

自定义类型:结构体,枚举,联合

Huawei app UI automation test post interview real questions, real interview experience.

Hcip 13th day notes

Five basic data structures of redis
随机推荐
In it, there is a million talent gap, and the salary rises, but it is not capped
Codeforces Round #810 (Div. 2)A~C题解
简单为美-编程思路
Codeforces Round #807 (Div. 2) A-C题解
数据输出-图片注释、标注
[Taichi] draw a regular grid in Tai Chi
每条你收藏的资讯背后,都离不开TA
【网站搭建】使用acme.sh更新ssl证书:将zerossl改为letsencrypt
Gbase 8C general file access function
ArcGIS:加载历史遥感影像
Packet capturing wizard netcapture app packet capturing tutorial "complete"
Causes and solutions of JS digital accuracy loss
在生产型企业中,MES系统有哪些重要应用
Real time data warehouse: meituan's real-time data warehouse construction practice
N32l43x FLASH read \ write \ erase operation summary
How to evaluate the effectiveness of R & D personnel? Software Engineer reports help you see everyone's contribution
They are all talking about Devops. Do you really understand it?
Starfish Os X MetaBell战略合作,元宇宙商业生态更进一步
Redis设计规范
Flex布局学习完成PC端