uweb/searchurl/script/gnuplot.sh

8 lines
299 B
Bash
Raw Normal View History

2020-03-13 04:48:29 +00:00
pkg install gnuplot
(cat<<EOF ;cat /sdcard/uweb/default.acmd)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.acmd
命令:text/plain:%s
函数作图:image/svg+xml:gnuplot -e 'set term svg;set output; plot %s'
函数作图(3d):image/svg+xml:gnuplot -e 'set term svg;set output; splot %s'
EOF