program brokenlines1 implicit none call init call viewport(0.2,0.2,0.8,0.8) call xyworld(0.0,0.0,1.0,1.0) call linety(1) call linewidth(15.0) call newpath call plot(0.4,0.1,3) call plot(0.7,0.1,2) call plot(0.7,0.1,3) call plot(0.9,0.4,2) call stroke call newpath call setlinejoin(0) call plot(0.3,0.3,3) call plot(0.6,0.3,2) call plot(0.8,0.6,2) call stroke call newpath call setlinejoin(1) call plot(0.2,0.5,3) call plot(0.5,0.5,2) call plot(0.7,0.8,2) call stroke call newpath call setlinejoin(2) call plot(0.1,0.7,3) call plot(0.4,0.7,2) call plot(0.6,1.0,2) call stroke call fin stop end