#include <chplot.h> int main(){ double x1 = 1, y1 = 1, x2 = 3, y2 = 4; class CPlot plot; plot.line(x1, y1, 0, x2, y2, 0); plot.sizeRatio(-1); plot.axisRange(PLOT_AXIS_XY, 0, 5); plot.plotting(); }