Next: , Previous: , Up: 1D samples   [Contents][Index]


3.5.25 Bifurcation sample

Function bifurcation draw Bifurcation diagram for logistic map. The sample code is:

int sample(mglGraph *gr)
{
  gr->SubPlot(1,1,0,"<_");
  gr->Title("Bifurcation sample");
  gr->SetRanges(0,4,0,1);   gr->Axis();
  gr->Bifurcation(0.005,"x*y*(1-y)","r");
}
Example of Bifurcation()