BaşlayınÜcretsiz Başlayın

Multiple line plots

In this exercise, you will create a figure with two line plots in the same graph, displaying the closing price of two ETF funds, the Invesco QQQ and the iShares Russell 1000 Growth (IWF). This will let you compare these funds directly and identify trends or correlations between them.

The DataFrames and Plots packages have been imported and the DataFrames qqq and iwf have been loaded for you, so feel free to explore them in the shell before starting the task.

Bu egzersiz

Introduction to Data Visualization with Julia

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Plot the QQQ closing price, give it a title
____(
	qqq.____,
	qqq.____,
    label="QQQ",
    linecolor=:green,
    linewidth=2
)
# Give the plot a title
____(____)
xlabel!("Date")
ylabel!("Price (USD)")
Kodu Düzenle ve Çalıştır