Dashed edge of a polygon
It seems that edges vould not be dashed
f = piecewise([((0, .4), 0), ([.4,1],1)] )
g = piecewise([((-0.001, 0), 1), ([0,0],.6), ((0,1),0.6), ([1,1],0)] )
pl=polygon([(0,0), (0,1), (1,1),(1,0)],rgbcolor=(0.75, 0.85,0.85),edgecolor="black",linestyle="dashed")
pl+=plot(f(x),(x,0,1), thickness=2,rgbcolor=(78.4, 3.1, 8.2))
pl+=plot(g(x),(x,-0.001,1), thickness=2, rgbcolor=(23,38.26,38.74),axes_labels=['$p$','$q$'], ticks=[[], []])
pl+=circle((0.4,0.6), .02, fill=True, edgecolor=(0.96, 0.97,0.46), rgbcolor=(0.96, 0.97, 0.46))
show(pl)
I had a problem in send ding the code. It's the reason of its bad formating