Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/examples/dpv/RotboxDPV.m4

raw
1 .PS
2 # RotboxDPV.m4
3 gen_init
4 #nclude(dpictools.pic)
5
6 [
7 Point_(-10)
8 rotbox(boxwid/2,,thick 2)
9 Point_(30)
10 rotbox(,,shaded "yellow" outlined "blue" thick 3,r=0.1) \
11 at last [].se+vec_(boxwid,0)
12 "r=0.1" at last []
13 Point_(0)
14 [[]; for_(2,16,2, `rotbox(,,dashed,t=m4x/10) with .nw at \
15 ifelse(m4x,10,`2nd [].sw+(0,-0.1)',`last [].ne+(boxwid*0.1,0)')
16 sprintf("t=%g",m4x/10) at last []') ] with .sw at last [].se+(0.1,0)
17 ]
18
19 .PE