clear all
clf
level = 5;

v1 = [0;100];
v2 = [0;0];
 
trunkWidth = 10;
trunkColor = [0.65 0.5 0.3]; % trunk is brown
branchWidth = 3.5;
branchColor = [0.65 0.5 0.3]; % branches are brown

% initial line
line([v1(1) v2(1)],[v1(2) v2(2)], 'LineWidth', trunkWidth, 'Color', trunkColor); 

% add branches
branch(v1,v2, level, branchWidth, branchColor); 

axis('equal','off');
axis([-100 100 0 200])
