畢設搞完了!
在此係列記錄學習《程序員的數學--線性代數》系列的隨筆,在此參考的博客:
https://www.runoob.com/ruby/ruby-installation-windows.html
https://blog.csdn.net/weixin_38468077/article/details/101062057
--------------------------------------------------------------------------------------------------
安裝Ruby
本人win10操作系統;
首先安裝ruby: https://rubyinstaller.org/downloads/
我下載的是 Ruby+Devkit 2.6.6-1 (x64)
注意:win10下要配置環境變量:RUBY_HOME & 並將其添加到path
進入cmd查看ruby是否安裝成功:
安裝gnuplot
下載地址:https://sourceforge.net/projects/gnuplot/files/latest/download
一直跳過即可
演示程序
ruby "C:\Users\youxi\Desktop\ruby\liner\mat_anim.rb" | "D:\Study\Math\Gnuplot\gnuplot\bin\gnuplot.exe"
結果如圖所示: