#include <chplot.h> int main() { double x = 3, y = 4; class CPlot plot; plot.axisRange(PLOT_AXIS_XY, 2, 5); /* one point cannot do autorange */ plot.point(x, y, 0); plot.plotting(); }