Skip to content

Commit

Permalink
time series
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarusA committed Dec 17, 2024
1 parent 1dfda6a commit 45f3c36
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/src/tutorials/plottingmaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 45f3c36

Please sign in to comment.