小编opi*_*lax的帖子

R 的默认语言

我的 MacBook 上安装了 R 软件,但问题是默认语言设置为“俄语”,我真的不知道为什么。当我从终端呼叫 R 时,我看到以下消息

Giulios-MBP:~ opisthofulax$ R

R version 3.2.4 (2016-03-10) -- "Very Secure Dishes"
Copyright (C) 2016 The R Foundation for Statistical Computing
R version 3.2.4 (2016-03-10) -- "Very Secure Dishes"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

R -- ??? ????????? ??, ? ??? ???????????? ???? ?????? ????????.
?? ?????? ?????????????? ??? ??? ?????????? ????????? ???????.
??????? 'license()' ??? ????????? ????? ????????? ??????????.

Natural language support but running in an …
Run Code Online (Sandbox Code Playgroud)

macos r

5
推荐指数
1
解决办法
3386
查看次数

用 gnuplot 拟合阻尼正弦波数据集,得到很多错误

我试图适应这个数据集:

#Mydataset damped sine wave data
#X ---- Y
45.80   320.0
91.60   -254.0
137.4   198.0
183.2   -156.0
229.0   126.0
274.8   -100.0
320.6   80.0
366.4   -64.0 
412.2   52.0
458.0   -40.0
503.8   34.0
549.6   -26.0
595.4   22.0
641.2   -18.0
Run Code Online (Sandbox Code Playgroud)

如下图所示,它具有阻尼正弦波的经典趋势: 在此处输入图片说明

所以我首先设置了适合的宏

f(x) = exp(-a*x)*sin(b*x)
Run Code Online (Sandbox Code Playgroud)

然后我做了适当的合身

fit f(x) 'data.txt' via a,b
iter      chisq       delta/lim  lambda   a             b            
   0 2.7377200000e+05   0.00e+00  1.10e-19    1.000000e+00   1.000000e+00

Current data point
=========================
#               = 1 out of 14
x               = -5.12818e+20   
z               = 320            

Current set of parameters …
Run Code Online (Sandbox Code Playgroud)

plot gnuplot curve-fitting data-fitting

2
推荐指数
1
解决办法
2249
查看次数

gnuplot“设置终端 epslatex”中“独立”的含义

我正在尝试epslatexgnuplot 中的终端。在互联网上冲浪我发现了很多使用命令行的term例子set

set terminal epslatex size 9cm,7cm color colortext standalone header
Run Code Online (Sandbox Code Playgroud)

这是否会给我的情节带来一些好处,或者如果我不输入命令,它会改变什么吗standalone

color编辑:和 之间有什么区别colortext?我需要两者吗?

plot latex gnuplot

1
推荐指数
1
解决办法
3547
查看次数

标签 统计

gnuplot ×2

plot ×2

curve-fitting ×1

data-fitting ×1

latex ×1

macos ×1

r ×1