prettier plotting!
This commit is contained in:
10
src/plot.ua
10
src/plot.ua
@@ -1,6 +1,12 @@
|
||||
~ "git: github.com/omnikar/uiua-plot" ~ Data Plot
|
||||
~ "git: github.com/omnikar/uiua-plot" ~ Data Line Plot!
|
||||
&fras $ output/data.csv
|
||||
⋕↘1°csv
|
||||
≡°⊂
|
||||
Plot⍜°⊟₃∩₃Data°⍉≡⌞₀⊟
|
||||
°⍉≡⊟
|
||||
⍜°⊟₃∩₃Line
|
||||
°⊸≡°◇°Data~Label {"best" "worst" "mean"}
|
||||
Plot!(
|
||||
°⊸YLabel "fitness/profit"
|
||||
°⊸XLabel "generations"
|
||||
)
|
||||
&fwa"output/plot.png"img"png"
|
||||
|
||||
Reference in New Issue
Block a user