Skip to content

Repository files navigation

wxMathPlot

Updated MathPlot component for wxWidgets 3.2.2 (also works with latest 3.3.x).
I have made some improvements like:

  • corrected some bugs (and added others lol)
  • works on Linux
  • added a config window (that you can have access with the right click) - makes it easy to enable/disable plots, change colors, etc. Need MP_ENABLE_CONFIG directive to active it
  • added "view as bar" for XY functions
  • added horizontal and vertical line
  • added multiple Y axis management (unlimited number of Y-axis supported), including easy mouse interaction (zoom/pan) with each Y-axis. Thanks to Oskar Waldemarsson for this great work
  • added log axis
  • view fullscreen if plot is in a single frame
  • added to demo the samples from the original project
  • lot of things ...
    I keep the philosophy and the structure so it was easy to update existing project (I hope !).

Please note configuration (build) symbols you may want to define:

  • MP_ENABLE_NAMESPACE place all MathPlot components in the MathPlot namespace (default places everything in global namespace)
  • MP_ENABLE_CONFIG enables Lionel's advanced configuration dialog (default is old behavior)

C++ Version Compatibility
Mathplot Version 2.1 is last version compatible with C++ 14
Later versions will require at least C++17 because of the use of 'optional' library and 'structured binding' feature

Documentation generated by GitHub: https://githublionel.github.io/wxMathPlot/

Example showing new advanced configuration dialog:
Demo
Demo2

Enjoy
Lionel

About

An enhanced version of the wxMathPlot component for wxWidgets

Resources

Stars

31 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages