Skip to content

A Plotly Dash app that lets users draw curves on a Plotly graph and fit them with an interactive polynomial. Adjust the polynomial degree with a slider, and view the equation with high precision. The app provides a clean, user-friendly interface for real-time curve fitting and analysis.

License

Notifications You must be signed in to change notification settings

brammmieee/dash_interactive_polynomial_fitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dash_interactive_polynomial_fitter

A Dash app for interactive curve drawing and polynomial fitting.

Installation (Debian Linux)

  1. Install Python and pip (if not already installed):

    sudo apt update
    sudo apt install python3 python3-pip
  2. Clone the repository:

    git clone [email protected]:brammmieee/dash_interactive_polynomial_fitter.git
    cd dash_interactive_polynomial_fitter
  3. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  4. Install the required packages:

    pip install -r requirements.txt

Running the App

Start the app with:

python app.py

Screenshot

The screenshot below displays the dashboard with the interactive polynomial fitting tool. The tool for drawing the polynomial is annotated in the image. All zooming and drawing tools are fully functional.

Image

Downscaling Functionality

The app includes a downscaling feature to address issues with polynomial fitting on small numbers. When dealing with very small values, fitting can become inaccurate. By scaling down the polynomial fit by a specified factor, you can improve accuracy and visualization.

How to Use

  1. Enter Scaling Factor: Use the input box to specify a scaling factor. This factor will scale down both the x and y values of the polynomial fit.

  2. Impact: The polynomial fitting results and the displayed polynomial equation will reflect this scaling, helping to achieve more accurate results when working with small datasets.

This feature helps ensure better fitting accuracy and visualization across different scales.

About

A Plotly Dash app that lets users draw curves on a Plotly graph and fit them with an interactive polynomial. Adjust the polynomial degree with a slider, and view the equation with high precision. The app provides a clean, user-friendly interface for real-time curve fitting and analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages