I\'m writing a C++ plotter in order to plot analog and digital signals. The plotter can plot one or more axes one above other. Each axe can be analog or digital. I.e.: