CommencerCommencer gratuitement

(Super)fine rice

In this exercise, you will plot two time series of the price of rice varieties, fine and superfine, in a center in Kurnool, India. Your objective is to include an annotation on the plot indicating when the prices of these two varieties are equal.

The necessary packages (DataFrames, Plots, and Dates) have been imported for you, and the fine and superfine DataFrames are already loaded.

Cet exercice fait partie du cours

Introduction to Data Visualization with Julia

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Plot both time series
plot(fine.Date,
    [____."____" ____."____"],
    label=[____ ____],
    linewidth=2)
ylabel!("Price (Rupees)")
Modifier et exécuter le code