#include <chplot.h>
int main() {
double x1 = 3, y1 = -3, width1 = 3, height1 = 5;
double x2 = -2, y2 = -2, width2 = 4, height2 = 2;
class CPlot plot;
plot.rectangle(x1, y1, width1, height1);
plot.rectangle(x2, y2, width2, height2);
plot.sizeRatio(-1);
plot.axisRange(PLOT_AXIS_X, -3, 7);
plot.axisRange(PLOT_AXIS_Y, -4, 3);
plot.axis(PLOT_AXIS_XY, PLOT_OFF);
plot.text("large", PLOT_TEXT_CENTER, 4.5, -0.5, 0);
plot.text("small", PLOT_TEXT_CENTER, 0, -1, 0);
plot.plotting();
}