Multiple lines

Source code notebook

Like other types, Line accepts group to produce lines with different color for each group of observations

using InMemoryDatasets, DLMReader, StatisticalGraphics


stocks = filereader(joinpath(dirname(pathof(StatisticalGraphics)),
                                 "..", "docs", "assets", "stocks.csv"),
                                 types=Dict(2=>Date))

first(stocks, 6)

sgplot(stocks, Line(x=:date, y=:price, group=:symbol), xaxis=Axis(type=:date))

This page was generated using DemoCards.jl and Literate.jl.