Added functionality to graph in multiple colors.
Blog about the science, calculations, design and build of a freeze dryer from commonly available components.
Featured Post
Monday, May 24, 2021
Sunday, May 23, 2021
Log Graphing Added
Added the ability to scale the graph to logarithmic functions. This allows extremely large scales to be plotted in smaller areas.
This can be expanded to create log-linear and log-log graphs.
Graph Calculations abstracted
In drawing the graph (lacking any C++ graphing libraries for the RPi) I had to scale the measurements to fit in the graph area. I abstracted the calculation so it can be used for any size graph with any span. This will allow the graph the be zoomed in to in future enhancements
Charting extended
Charting is now working on both the x-axis and the y-axis.
Scaling to temperature and pressure has been completed.
Charting across both chambers has been completed.
Saturday, May 22, 2021
Charting now working
I have added out-of-band charting functions to the code that will allow me to chart in GTK:DrawingAreas without having to trigger an event.
It sounds simple, but apparently GTK::Draw is not really robust when it comes to just drawing a simple line. They prefer you create and event handler and have the event handler draw the line when the event is triggered.
Unfortunately, Unix, C++, RaspberryPi combination is the perfect storm for zero interactive grahping support.