Skip to content

A tool to Plott a number of functions on a canvas. Build in Qt with qml

Notifications You must be signed in to change notification settings

Kallefinn/SimpleFofXVisualizer

Repository files navigation

SimpleFofXVisualizer

A tool to plott a number of functions on a canvas. Build in Qt with qml

image

How to use:

Plotting

  • To draw a function just write down the formula in the top input.
  • To add a new input press the plus button.
  • To delete a function just erase the formula and press enter.

Panning and Zoom

  • Mouse

    • Drag with left mouse button to pan
    • Scroll Wheel + Ctrl to Zoom
  • Touchpad

    • Pan with two fingers
    • Zoom with two fingers + Ctrl

Features

  • right click on Input field to change color
  • right click on plot to:
    • Export as Png
    • Change style (Build in Qt Styles)
    • change background color
    • remove or add axies and grid

Build

Open project in QtCreator and make sure to have Qt6.7 installed

Notes

This was just a project to learn the whole Qt6 framework along with Cmake and qml. The most interesting thing is probably the parser library exprtk by Arash Partov. This would, in theory, enable this project to be expanded well beyond the optimizations i integrated. Especially if combined with the options Qt6 offers regarding 3D capabilitites. Right now it just means that the parser accepts a whole lot of function inputs like sin(),log() etc.

About

A tool to Plott a number of functions on a canvas. Build in Qt with qml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages