import graph_pi; real k=3.2; real f(real x){return k*x*(1-x);} graphicrules(unit=8cm, xmin=0, xmax=1, ymin=0, ymax=1); draw(graph(f)); cartesianaxis(); draw(graph(new real(real x){return x;}), grey); draw(recursivegraph(f,.1,n=12), recursiveoption(Label("%"), labelplace=onXY, px=dashed+grey, py=dashed+grey, automarker=nomarker, circuitarrow=Arrow(position=Relative(.5),size=2mm)), .8red);