plotbd
A tool to plot bifurcation diagrams using Node.js and Gnuplot.
Installation
npm install plotbd
Usage
const plotbd = ; /*The map should have the following pattern- The current state x(n) as the first argument.- The control parameter (r) as the second one.- return the next state x(n+1)*/ { return r * x * 1 - x;} ;
Notes
density
must always be less thaniterations
because thex
values to keep are part of iterations.- increasing the number of
r
valuesrValues[2]
anddensity
will enhance the bifurcation diagram plot by adding more details. But, it will decrease the performance on the other hand.