Commit 5f504351 authored by Sergey Litvinov's avatar Sergey Litvinov
Browse files

Add post

parent f98699f8
uc () { ucart . --list conf0.h conf.h; }
gp () { # uses `p' (picture) and `f' (file)
gnuplot -p <<-EOF
XS = 32; YS = 32; R = 2.5
xc = 0.5*XS; yc = 0.5*YS
xcy(t) = xc + R*sin(t)
ycy(t) = yc + R*cos(t)
unset tics
set parametric
set term jpeg
set output "$p"
set key off
set xrange [0:XS]
set yrange [0:YS]
plot "$f" u 2:3 w p pt 6,\
xcy(t), ycy(t)
for d in `uc`; do
if test ! -r "$f"; then continue; fi
echo $p
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment