Skip to content

Commit 4e4f630

Browse files
committed
Add Scatter and Line functions as dots-only and lines-only Data shorthands
1 parent aae0e83 commit 4e4f630

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib.ua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ PC ↚ PlotConfig
7070
LineWidth: °[]△⟜Num ← ∞
7171
}
7272
└─╴
73+
# Create a `Data` instance that draws only dots
74+
Scatter ← Data!(°⊸DrawDots 1 °⊸DrawLines 0 New)
75+
# Create a `Data` instance that draws only lines
76+
Line ← Data!(°⊸DrawLines 1 °⊸DrawDots 0 New)
7377

7478
# Stack one RGBA image atop another
7579
Stack ← ⍜°⍉⊂ ↧⊸↥0÷⊃(+׬𝄐’|+⊃×(×𝄐׬)|𝄐⍜∩¬×) ∩⍜°⍉°𝄈⊂

0 commit comments

Comments
 (0)