summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/random.m4
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-21 22:02:51 +0000
committerKarl Berry <karl@freefriends.org>2020-12-21 22:02:51 +0000
commitc95edccc8198456a8a1a43c7b2c70a02ca8d84ac (patch)
tree7b75eb11432c27bc72182e261983078fd196620a /Master/texmf-dist/doc/latex/circuit-macros/examples/random.m4
parent88e74ca1539a00a016c46ca3ac678158efe5286e (diff)
circuit-macros (21dec20)
git-svn-id: svn://tug.org/texlive/trunk@57189 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/examples/random.m4')
-rw-r--r--Master/texmf-dist/doc/latex/circuit-macros/examples/random.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/examples/random.m4 b/Master/texmf-dist/doc/latex/circuit-macros/examples/random.m4
index d375cb6eb46..88c2ce41dbd 100644
--- a/Master/texmf-dist/doc/latex/circuit-macros/examples/random.m4
+++ b/Master/texmf-dist/doc/latex/circuit-macros/examples/random.m4
@@ -8,6 +8,7 @@ s_init(random)
################################################################
# hscale(right length,nlabels,
# minlabel,maxlabel,[T][N])
+# arg5=T: top axis, N: nolabels
define(`hscale',`[ define(`hs_nl',`ifelse(`$2',,5,`$2')')
A: line `$1' ; Start: A.start; End: A.end
td = 1/(hs_nl-1)*A.len/5
@@ -26,6 +27,7 @@ s_init(random)
]')
# vscale(up length,nlabels,
# minlabel,maxlabel,[R][N] )
+# arg5=R: right axis, N: nolabels
define(`vscale',`[ define(`vs_nl',`ifelse(`$2',,5,`$2')')
A: line `$1' ; Start: A.start; End: A.end
td = 1/(vs_nl-1)*A.len/5
@@ -48,7 +50,7 @@ s_init(random)
################################################################
[
- n = 2000
+ n = 2000 # number of samples
stddev = 0.25
graphsize = 2