Cousera Machine Learning/week2-2-4
Plotting Data
t=[0:0.01:0.98];
y1=sin(2*pi*4*t);
plot(t,y1);
y2=cos(2*pi*4*t);
重ねてグラフ表示をしたい場合
hold on
plot(t, y1, 'r');
> print -dpng 'TEST_octave.png'
と実行したら、次の警告が出てしまった。
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning: print.m: pstoedit binary is not available.
Some output formats are not available.
CentOS7 上でOctaveを動かしていたが、グラフの保存ができないか?
yum install transfig
を実行して、警告は減ったが
warning: print.m: pstoedit binary is not available.
というエラーの方は出ている。
どうにもこの警告が消えない。
が、これは大して問題ではないようだ。
0 件のコメント:
コメントを投稿