summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/random.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/random.m4')
-rw-r--r--graphics/circuit_macros/examples/random.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/circuit_macros/examples/random.m4 b/graphics/circuit_macros/examples/random.m4
index d375cb6eb4..88c2ce41db 100644
--- a/graphics/circuit_macros/examples/random.m4
+++ b/graphics/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