当前位置:网站首页>Exercise 1 simple training of R language drawing
Exercise 1 simple training of R language drawing
2022-07-05 21:29:00 【A primary school student on the statistics Road】
In this section , I will provide you with a few examples for practice , Let's talk about R Master the language drawing function more skillfully , The data required for this article can be found in the content uploaded by me on my homepage , You can use it yourself , Of course, you can also confide in me , I'll pack it and send it to you directly , Everyone help a little praise , Thank you for your support !!!
subject 1: Ask to use the topic 1 Plot a scatter plot of the data , Its title is ‘my answer 1’, The abscissa name is month, The ordinate name is annal, The abscissa value is 0-330, The ordinate value is 0-4000, The color is set to red .
answer :
# Import csv file
shuju=read.csv('C:/Users/lhb/Desktop/ subject 1 data .csv',header = TRUE)
plot(shuju$month,shuju$annal,# Specify the horizontal and vertical coordinates
main = 'my answer 1',# Name the title
xlab='month',# Specify the abscissa name
ylab='annal',# Specify ordinate name
xlim=c(0,330),
ylim=c(0,4000),# Specify the value range of horizontal and vertical coordinates
col='red'# The specified color is red )
边栏推荐
- What should I do to prepare for the interview algorithm position during school recruitment?
- 【日常训练】729. 我的日程安排表 I
- MQ----activeMq
- 張麗俊:穿透不確定性要靠四個“不變”
- [daily training] 729 My schedule I
- 基于 Ingress Controller 在集群外访问 Zadig 自测环境(最佳实践)
- PVC plastic sheets BS 476-6 determination of flame propagation properties
- 使用Aspect制作全局异常处理类
- Learning robots have no way to start? Let me show you the current hot research directions of robots
- GCC9.5离线安装
猜你喜欢
Introduction of ArcGIS grid resampling method
【案例】定位的运用-淘宝轮播图
Xlrd common operations
The transformation based on vertx web sstore redis to realize the distributed session of vertx HTTP application
基于vertx-web-sstore-redis的改造实现vertx http应用的分布式session
ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图
Alibaba cloud award winning experience: build a highly available system with polardb-x
Influence of oscilloscope probe on measurement bandwidth
木板ISO 5660-1 热量释放速率摸底测试
面试官:并发编程实战会吗?(线程控制操作详解)
随机推荐
Five layer network protocol
AITM 2-0003 水平燃烧试验
Postgres establish connection and delete records
How to send samples when applying for BS 476-7 display? Is it the same as the display??
Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
Teach yourself to train pytorch model to Caffe (I)
The primary key is set after the table is created, but auto increment is not set
Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
终端安全能力验证环境搭建和渗透测试记录
MySQL InnoDB Architecture Principle
selenium 获取dom内验证码图片
[daily training] 729 My schedule I
Opérations de lecture et d'écriture pour easyexcel
【案例】定位的运用-淘宝轮播图
[case] Application of positioning - Taobao rotation map
Simple interest mode - evil Chinese style
CLion配置visual studio(msvc)和JOM多核编译
Zhang Lijun: la pénétration de l’incertitude dépend de quatre « invariants»
第05章_存储引擎
PostGIS installation geographic information extension