#include "pssub.h" void main() { init(); viewport(0.2,0.2,0.8,0.8); xyworld(0.0,0.0,1.0,1.0); linety(2); rect(0.0, 0.0, 1.0, 1.0);stroke(); linety(1); linewidth(18.0); newpath(); plot(0.4, 0.1, 3); plot(0.7, 0.1, 2); plot(0.7, 0.1, 3); plot(0.9, 0.4, 2); stroke(); newpath(); setlinejoin(0); plot(0.3, 0.3, 3); plot(0.6, 0.3, 2); plot(0.8, 0.6, 2); stroke(); newpath(); setlinejoin(1); plot(0.2, 0.5, 3); plot(0.5, 0.5, 2); plot(0.7, 0.8, 2); stroke(); newpath(); setlinejoin(2); plot(0.1, 0.7, 3); plot(0.4, 0.7, 2); plot(0.6, 1.0, 2); stroke(); text(0.36,0.02,"(0.4,0.1)"); text(0.66,0.02,"(0.7,0.1)"); text(0.82,0.42,"(0.9,0.4)"); stroke(); fin(); }