From 45f3c36af3fea1403307d52157209abddd9fa9b9 Mon Sep 17 00:00:00 2001 From: Lazaro Alonso Date: Tue, 17 Dec 2024 17:08:31 +0100 Subject: [PATCH] time series --- docs/src/tutorials/plottingmaps.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/src/tutorials/plottingmaps.md b/docs/src/tutorials/plottingmaps.md index 6df206f9..1a5dc410 100644 --- a/docs/src/tutorials/plottingmaps.md +++ b/docs/src/tutorials/plottingmaps.md @@ -193,6 +193,21 @@ plt = data(dim_data[lon=50..59]) * mapping(:lat, :value => "tas"; color=:value = layout = :lon => nonnumeric) draw(plt * visual(Lines); figure=(; size=(650,400))) ```` +### Time series + +For this, let's load a little bit more of time steps + +````@example AoG +dim_series = c[time=DateTime("2015-01-01") .. DateTime("2015-01-04"), lon = 150 .. 157, lat = 0..1] |> readcubedata +```` + +and plot + +````@example AoG +plt = data(dim_series) * mapping(:time, :value => "tas"; color=:lon => nonnumeric) +draw(plt * visual(ScatterLines), scales(Color = (; palette = :tableau_colorblind)); + figure=(; size=(800,400))) +```` ### Analysis