1. 程式人生 > >Julia:juliaPro1.0.1使用Plots畫圖題記

Julia:juliaPro1.0.1使用Plots畫圖題記

千呼萬喚始出來,juliaPro1.0.1終於出來了。在使用Plots畫圖時,與以前有點不一樣,現在記錄如下。
juliaPro1.0.1首先要安裝Plots。本人安裝步驟如下:
1. using Pkg
2. Pkg.add("Plots")
耐心等待安裝完成......
3. using GR

測試程式碼如下:
using GR
x = rand(100);
y = rand(100);
plot(x,y)