Source code Author Update time

using Plots

Plot multiple series with different numbers of points. Mix arguments that apply to all series (marker/markersize) with arguments unique to each series (colors). Special arguments line, marker, and fill will automatically figure out what arguments to set (for example, we are setting the linestyle, linewidth, and color arguments with line.) Note that we pass a matrix of colors, and this applies the colors to each series.

plot([rand(10), rand(20)], color = [:black :orange], line = (:dot, 4), marker = ([:hex :d], 12, 0.8, Plots.stroke(3, :gray)))
2023-08-30T09:34:06.996845 image/svg+xml Matplotlib v3.7.2,

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