多條折線圖!
在這個練習中,你將建立 SPY 基金收盤價的 7 日移動平均折線圖,並在同一張圖上疊加每日價格的散佈圖作為對照。一起開始吧!
已為你匯入 DataFrames 與 Plots 套件,且已在工作環境中載入 DataFrame spy。
本練習屬於課程
Julia 資料視覺化入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Plot the closing price
____(spy.____,
spy.____,
# Color the markers
____=:____,
label="Closing Price")
title!("Closing Price of SPY")
xlabel!("Date")
ylabel!("Price (USD)")