|
From: | Chris Moller |
Subject: | Another toy to play with... |
Date: | Sun, 5 Jul 2020 15:59:27 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
'bgwhite;xcol 1; tlabel "Lissajous axis 1"' plot ⍉2 128⍴(1○2×(⍳128)÷6),2○(⍳128)÷6
'menu' plot ⍉2 128⍴(1○2×(⍳128)÷6),2○(⍳128)÷6brings up a GTK-based menu that lets you set all the various parameters.
apl --LX "'libaplplot.so' ⎕FX 'plot'" --eval "' file sine.png; tlabel Sine' plot 2○(⍳128)÷6"which will create a PNG file showing a bit of sine curve.)
https://github.com/ChrisMoller/aplplotif anyone wants to play with it. There's a bit of a description in the README and some examples at:
https://github.com/ChrisMoller/aplplot/wiki
[Prev in Thread] | Current Thread | [Next in Thread] |