Marker types

Source code Author Update time

using Plots
unicodeplots()
markers = filter((m->begin
                m in PlotsBase.supported_markers()
            end), PlotsBase.Commons._shape_keys)
markers = permutedims(markers)
n = length(markers)
x = (range(0, stop = 10, length = n + 2))[2:end - 1]
y = repeat(reshape(reverse(x), 1, :), n, 1)
scatter(x, y, m = markers, markersize = 8, lab = map(string, markers), bg = :linen, xlim = (0, 10), ylim = (0, 10))
┌────────────────────────────────────────┐ 10│⠀⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀⚬⠀│circle │⠀⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀▫⠀│rect │⠀⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀⬡⠀│diamond │⠀⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀✚⠀│hexagon │⠀⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀✖⠀│cross │⠀⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀△⠀│xcross │⠀⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀▷⠀│utriangle │⠀⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀◁⠀│dtriangle │⠀⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀⬠⠀│rtriangle │⠀⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀★⠀│ltriangle │⠀⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀✶⠀│pentagon │⠀⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀✴⠀│star4 │⠀⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀―⠀│star5 │⠀⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀+⠀│star6 0│⠀⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀⨯⠀│star8 └────────────────────────────────────────┘ ⠀0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀10⠀

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