Plotting Graphs

BlitzMax Forums/BlitzMax Programming/Plotting Graphs

NoOdle(Posted 2011) [#1]
My dad and I have been working on a Proton Magnetometer project for a number of years. We both dive and wanted to use this to go wreck and treasure hunting. My dad has designed and built the tow fish, circuits and programmed the micro and I have written the software that interfaces with this and displays the information.

I chose BlitzMax as I wanted to write my own graph plotting library and this was the quickest option for this. The current version is 'finished', it renders, plots, updates, saves the new graph plot with a time stamp of the current GPS longitude / latitude reading. Displays signal strength and battery level.

The next step is to plot the path of the boat and tow fish on a longitude and latitude grid and add in some other fancy options.

Both of these graphs/charts can be viewed at the same time, each one will be added to its own canvas window so that they can be resized, moved etc.

Now that I have got the background information out of the way, my question is this:

What would be the quickest way I can plot my graphs, gridlines, axis, etc etc? It would also need to work when the data scrolls, e.g. the major gridlines shift with the data.

I am currently using max2d driver and drawline. I am about to rewrite the whole program and so would be very grateful for any suggestions on speeding it up.

Kind regards

Last edited 2011


zambani(Posted 2011) [#2]
Take a look at this
http://code.google.com/p/maxmods/wiki/GraphvizModule
It's a graphing module.

Download link to code is below.
http://code.google.com/p/maxmods/downloads/list?can=2&q=graphviz