当前位置:网站首页>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 ) 
边栏推荐
- Establishment of terminal security capability verification environment and penetration test records
- Comparison table of foreign lead American abbreviations
- postgis 安装地理信息扩展
- selenium 获取dom内属性值的方法
- 有些事情让感情无处安放
- WPF gets the control in the datagridtemplatecolumn of the specified row and column in the DataGrid
- 事项研发工作流全面优化|Erda 2.2 版本如“七”而至
- 100 cases of shell programming
- Display DIN 4102-1 Class B1 fire test requirements
- Clion-MinGW编译后的exe文件添加ico图标
猜你喜欢

秋招将临 如何准备算法面试、回答算法面试题

浅聊我和一些编程语言的缘分

Pytoch practice -- MNIST dataset handwritten digit recognition

ArcGIS栅格重采样方法介绍
![[case] Application of positioning - Taobao rotation map](/img/2d/c834ce95a2c8e53a20e67fa2e99439.png)
[case] Application of positioning - Taobao rotation map

Teach yourself to train pytorch model to Caffe (2)

Access Zadig self-test environment outside the cluster based on ingress controller (best practice)

Incentive mechanism of Ethereum eth

The transformation based on vertx web sstore redis to realize the distributed session of vertx HTTP application

Using webassembly to operate excel on the browser side
随机推荐
@Validated basic parameter verification, grouping parameter verification and nested parameter verification
显示屏DIN 4102-1 Class B1防火测试要求
XML modeling
面试官:并发编程实战会吗?(线程控制操作详解)
LeetCode_哈希表_困难_149. 直线上最多的点数
Aitm2-0002 12s or 60s vertical combustion test
Zhang Lijun: penetrating uncertainty depends on four "invariants"
selenium 查找b或p标签的内容
Simple getting started example of Web Service
Explain various hot issues of Technology (SLB, redis, mysql, Kafka, Clickhouse) in detail from the architecture
MMAP
字典树简单入门题(居然是蓝题?)
驱动壳美国测试UL 2043 符合要求有哪些?
Modifiers of attributes of TS public, private, protect
【案例】元素的显示与隐藏的运用--元素遮罩
Add ICO icon to clion MinGW compiled EXE file
第05章_存储引擎
Dictionary tree simple introductory question (actually blue question?)
AITM2-0002 12s或60s垂直燃烧试验
事项研发工作流全面优化|Erda 2.2 版本如“七”而至