Next: Bifurcation sample, Previous: Torus sample, Up: 1D samples [Contents][Index]
Function lamerey draw Lamerey diagram. The sample code is:
int sample(mglGraph *gr) { gr->SubPlot(1,1,0,"<_"); gr->Title("Lamerey sample"); gr->Axis(); gr->Label('x',"\\i x"); gr->Label('y',"\\bar{\\i x} = 2 \\i{x}"); gr->FPlot("x","k="); gr->FPlot("2*x","b"); gr->Lamerey( 0.00097,"2*x","rv~"); gr->Lamerey(-0.00097,"2*x","rv~"); }