怎么快捷的画出N多组书的图形呢?

2019-07-17 14:54发布

ti, simsun, sans-serif">下面的数是实验数据,是坐标的数据(x,y)的形式,怎么能用matlab简便操作快速的画出图形???1541.3700, -35.806
1541.3870, -35.784
1541.4040, -35.718
1541.4210, -35.681
1541.4380, -35.652
1541.4550, -35.676
1541.4720, -35.682
1541.4890, -35.705
1541.5060, -35.756
1541.5230, -35.790
1541.5400, -35.785
1541.5570, -35.806
1541.5740, -35.761
1541.5910, -35.769
1541.6080, -35.688
1541.6250, -35.624
1541.6420, -35.549
1541.6590, -35.508
1541.6760, -35.466
1541.6930, -35.494
1541.7100, -35.506
1541.7270, -35.497
1541.7440, -35.512
1541.7610, -35.564
1541.7780, -35.589
1541.7950, -35.620
1541.8120, -35.701
1541.8290, -35.658
1541.8460, -35.642
1541.8630, -35.562
1541.8800, -35.562
1541.8970, -35.504
1541.9140, -35.482
1541.9310, -35.437
1541.9480, -35.394
1541.9650, -35.400
1541.9820, -35.407
1541.9990, -35.454
1542.0160, -35.454
1542.0330, -35.463
1542.0500, -35.495
1542.0670, -35.467
1542.0840, -35.426
1542.1010, -35.424
1542.1180, -35.348
1542.1350, -35.308
1542.1520, -35.237
1542.1690, -35.153
1542.1860, -35.289
1542.2030, -35.196
1542.2200, -35.216

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
11条回答
defy1
1楼-- · 2019-07-17 18:58
plot
  
路过秋天
2楼-- · 2019-07-17 23:35
defy1 发表于 2012-3-8 13:47
plot

必须一个点一个点的画吗?
defy1
3楼-- · 2019-07-18 02:23
data = [
1541.3700, -35.806
1541.3870, -35.784
1541.4040, -35.718
1541.4210, -35.681
1541.4380, -35.652
1541.4550, -35.676
1541.4720, -35.682
1541.4890, -35.705
1541.5060, -35.756
1541.5230, -35.790
1541.5400, -35.785
1541.5570, -35.806
1541.5740, -35.761
1541.5910, -35.769
1541.6080, -35.688
1541.6250, -35.624
1541.6420, -35.549
1541.6590, -35.508
1541.6760, -35.466
1541.6930, -35.494
1541.7100, -35.506
1541.7270, -35.497
1541.7440, -35.512
1541.7610, -35.564
1541.7780, -35.589
1541.7950, -35.620
1541.8120, -35.701
1541.8290, -35.658
1541.8460, -35.642
1541.8630, -35.562
1541.8800, -35.562
1541.8970, -35.504
1541.9140, -35.482
1541.9310, -35.437
1541.9480, -35.394
1541.9650, -35.400
1541.9820, -35.407
1541.9990, -35.454
1542.0160, -35.454
1542.0330, -35.463
1542.0500, -35.495
1542.0670, -35.467
1542.0840, -35.426
1542.1010, -35.424
1542.1180, -35.348
1542.1350, -35.308
1542.1520, -35.237
1542.1690, -35.153
1542.1860, -35.289
1542.2030, -35.196
1542.2200, -35.216
];
plot(data(:,1),data(:,2))

评分

参与人数 1积分 +19 收起 理由 禅心止水 + 19 感谢回答

查看全部评分

路过秋天
4楼-- · 2019-07-18 07:58
非常感谢 非常感谢
cmod
5楼-- · 2019-07-18 07:58
 精彩回答 2  元偷偷看……
defy1
6楼-- · 2019-07-18 10:06
cmod 发表于 2012-3-8 13:51
1. 建立一个文件,名字自己定(mydata.dat), 把数据拷贝到该文件中。
2. command: load mydata.dat;
3. 假 ...

如果 现在有2组这样的数组,怎么用plot画在一张图上?我试了几次 都失败了~郁闷~~

一周热门 更多>