CLASS Random generator
Highlights/Dependencies |
---|
|
GraphRep Code |
---|
GRAPHREP FILL r:0 g:255 b:153 ELLIPSE rx:.7cm ry:.7cm SHADOW mode:off FILL r:51 g:153 b:102 AVAL w:"Value" SET w:(w SUB 0) IF (w = "D") POLYLINE 7 x1:-.3cm y1:.3cm x2:-.3cm y2:.1cm x3:-.1cm y3:.1cm x4:-.1cm y4:-.2cm x5:.2cm y5:-.2cm x6:.2cm y6:-.3cm x7:.5cm y7:-.3cm LINE x1:-.5cm y1:.3cm x2:.5cm y2:.3cm LINE x1:0cm y1:-.4cm x2:0cm y2:.4cm ELSIF (w = "E") COMPOUND 2 CURVE "t" fx:(t) fy:(-.6*exp(-(3.8*(t+.4)))+.3) from:-.4 to:.5 LINE x1:.5cm y1:.3cm x2:-.4cm y2:.3cm LINE x1:-.5cm y1:.3cm x2:-.4cm y2:.3cm LINE x1:-.4cm y1:.4cm x2:-.4cm y2:-.4cm ELSIF (w = "G") RECTANGLE x:-.3cm y:-.1cm w:.7cm h:.4cm LINE x1:-.5cm y1:.3cm x2:.5cm y2:.3cm LINE x1:0cm y1:-.4cm x2:0cm y2:.4cm ELSE COMPOUND 1 CURVE "t" fx:(t) fy:(-.7*exp(-14*t*t)+.2) from:-.6 to:.6 LINE x1:0cm y1:-.6cm x2:0cm y2:.3cm ENDIF ATTR "Value" y:.9cm w:c:2.8cm h:t
|
Graphical Representation |
---|
|
2542 Views