#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(); newpath(); plot(0.5, 0.5, 3); plot(0.5, 0.7, 2); stroke(); newpath(); plot(0.5, 0.5, 3); plot(0.9, 0.5, 2); stroke(); linety(1); dims(0.5, 0.5, 0.9, 0.5, 0.06); stroke(); linety(1); dims(0.5, 0.5, 0.5, 0.7, 0.05); stroke(); linewidth(2.0); linety(1); newpath(); ellipse(0.5, 0.5, 0.4, 0.2); stroke(); linety(3); newpath(); ellipse(0.5, 0.5, 0.1, 0.2); stroke(); stroke(); linewidth(1.0); text(0.42,0.44,"(0.5,0.5)"); text(0.70, 0.43,"(0.9,0.5)"); text(0.44,0.73,"(0.5,0.7)"); text(0.42, 0.58,"0.2"); text(0.67, 0.55,"0.4"); stroke(); fin(); }