summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/svg/randomSVG.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/svg/randomSVG.m4')
-rw-r--r--graphics/circuit_macros/examples/svg/randomSVG.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/circuit_macros/examples/svg/randomSVG.m4 b/graphics/circuit_macros/examples/svg/randomSVG.m4
index e482d9f1e4..4ca2056d68 100644
--- a/graphics/circuit_macros/examples/svg/randomSVG.m4
+++ b/graphics/circuit_macros/examples/svg/randomSVG.m4
@@ -6,6 +6,7 @@ NeedDpicTools
################################################################
# 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
@@ -24,6 +25,7 @@ NeedDpicTools
]')
# 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
@@ -46,7 +48,7 @@ NeedDpicTools
################################################################
[
- n = 2000
+ n = 2000 # number of samples
stddev = 0.25
graphsize = 2