Provide a tool to quickly draw plots from the result of an SQL query.
- qt4
- root6
Debian packages:
qt-sdk # dev package...
libqt4-sql-psql # for postgresql support
Installation instructions are detailed on the ROOT website, together with the requirements.
Remember to use enable the qt option at the configuration step: ./configure --enable-qt
qmake -qt=4 dbstats.pro # generate the Makefile
make # generates the executable called 'dbstats'
Then you can lauch the program :
./dbstats
- Connect to your database via the menu File > Database connection
- Write your query in the upper left text area
- Click on "Run Query" button below the edit area
- The lower left panel should now display an overview of the returned data
- Go to the upper right panel to configure the plot and click on "Draw"