ログインしてさらにmixiを楽しもう

コメントを投稿して情報交換!
更新通知を受け取って、最新情報をゲット!

琉球大学工学部情報工学科2006コミュのデータ解析

  • mixiチェック
  • このエントリーをはてなブックマークに追加

コメント(12)

--------------------------------------------------------- ここから実行例
% ./lsf-demo <---- 実行する
Curve fit data is created using the quadratic
y(x) = c(1) + c(2)*x + c(3)*x2
Enter the coefficients:
c(1) = 20 <---- 値を入力
c(2) = 2 <---- 値を入力
c(3) = 1 <---- 値を入力
Enter estimated error bar: 300 <--- 値を入力(この値が大きいと点がばら
つく?)
Fit parameters:
a(1) = -512.211 ± 86.1418 <---- "+/-" の値は何かに使うのか?
a(2) = 53.9485 ± 2.93998
Chi square = 4.5036e+15; N-M = 48
--------------------------------------------------------- ここまで実行例


--------------------------------------------------- ここからグラフを作成
% gnuplot
Unknown or ambiguous terminal name 'aqua'

G N U P L O T
Version 3.8k patchlevel 3+0.10
last modified Mon Mar 29 15:17:53 CEST 2004
System: Darwin 8.10.0

Copyright(C) 1986 - 1993, 1999 - 2003
Thomas Williams, Colin Kelley and many others

This is a pre-version of gnuplot 4.0. Please refer to the
documentation
for command syntax changes. The old syntax will be accepted
throughout
the 4.0 series, but all save files use the new syntax.

Type `help` to access the on-line reference manual
The gnuplot FAQ is available from
http://www.gnuplot.info/faq/

Send comments and requests for help to
<info-gnuplot-beta@dartmouth.edu>
Send bugs, suggestions and mods to <info-gnuplot-beta@dartmouth.edu>


Terminal type set to 'unknown'
gnuplot> set term x11 <------ 事前に x11.app を起動しておく
Terminal type set to 'x11'
Options are '0'
gnuplot> plot "y.txt" <------ 50個の点の座標データ
gnuplot> set yrange [-500:3000] <------ y 軸の表示する領域を設定(*)
gnuplot> set xrange [0:50] <------ x 軸の表示する領域を設定
gnuplot> plot -512.211+53.9485*x <------ y = a1 + a2*x の線を出力
gnuplot> set multiplot <------ 二つの線を同時に出力するため
multiplot> plot -512.211+53.9485*x <--- 直線
multiplot> plot "y.txt" <--- ばらつきのある二次曲線

--------------------------------------------------- ここまでグラフを作成

*補足*
"set yrange [int1:int2]"で指定する二つの値(int1とint2)は、直前の
"plot y.txt" の表示結果にある値を使うと見易くなるかも...




以上がプログラムを書いた後の実行のさせかたです。

主は私たちを見捨てはしなかった。
質問等はここでしましょう。
みんなで共有すれば早く伝達します
あざーーーーーーーーーーーーーーーーーーっす
か〜〜〜〜〜〜〜みぃ〜〜〜〜〜〜〜〜〜うまい!

ログインすると、みんなのコメントがもっと見れるよ

mixiユーザー
ログインしてコメントしよう!

琉球大学工学部情報工学科2006 更新情報

琉球大学工学部情報工学科2006のメンバーはこんなコミュニティにも参加しています

星印の数は、共通して参加しているメンバーが多いほど増えます。