# [pstricks] I need some advise for a generic drawing

Martin Buchmann Martin_Buchmann at gmx.net
Thu Jul 17 11:32:55 CEST 2003

```Hi all,

i want to use pstricks o draw some dendrits. FYI: These are
structures which could be found in solidification. The word comes
form the greek dendros (tree) and it looks more or less like this:

_|_
|
__|__
|
___|___
|
____|_____
|

Please excuse the ASCII art. Basically it's just a vertical line and
a few (thiner) horozontal lines which get shorter towards the top.
The number of the horizontal lines should depend on the length of the
vertical and the distances between two horizontal lines sould
decrease slighly towards the top.

Because i will need to draw this several times in several sizes, etc.
i thought about a generic command which i can just use inside other
drawings. It should depend mainly on the length of the vertical line.

Has anyone done something similiar? I am not sure how and where to
start best. Any suggestions are appreciated.

Best regards
Martin

--
(1) X=Y				; Given
(2) X^2=XY			; Multiply both sides by X
(3) X^2-Y^2=XY-Y^2		; Subtract Y^2 from both sides
(4) (X+Y)(X-Y)=Y(X-Y)		; Factor
(5) X+Y=Y			; Cancel out (X-Y) term
(6) 2Y=Y			; Substitute X for Y, by equation 1
(7) 2=1				; Divide both sides by Y
-- "Omni", proof that 2 equals 1

```