import graph_pi; size(10cm,0); real f(real x){return x^2;}; xlimits(-2, 2); ylimits(0, 4.25); draw(graph(f, -2, 2)); /*MODgraph_pi.asy.html#graphpoint(...)MOD*/ graphpoint(Label("$M$",align=NW), f, 1.5); graphpoint("$P$", f, 1, extendy=true, px=Dotted+red, py=Dotted+blue); graphpoint("$N$", f, -1, draw=onX, px=Dotted+red); graphpoint("$Q$", f, sqrt(3), extendx=true); xaxis(BottomTop(), LeftTicks()); yaxis(Ticks()); yaxis(LeftRight(), Ticks());