#include <chplot.h> int main() { double x[5] = {3, 2, 1, 2, 3}, y[5] = {2, 3, 2, 1, 2}; class CPlot plot; plot.polygon(x, y, NULL); plot.sizeRatio(-1); plot.axisRange(PLOT_AXIS_XY, 0, 4); plot.text("Ch", PLOT_TEXT_CENTER, 2, 2, 0); plot.plotting(); }