#include <chplot.h>

int main() {
    double theta1 = -60, r1 = 4, width1 = 3, height1 = 5;
    class CPlot plot;

    plot.grid(PLOT_ON);
    plot.polarPlot(PLOT_ANGLE_DEG);
    plot.rectangle(theta1, r1, width1, height1);
    plot.plotType(PLOT_PLOTTYPE_LINES, 0, 0, 25);
    plot.sizeRatio(-1);
    plot.axisRange(PLOT_AXIS_X, 0, 6);
    plot.axisRange(PLOT_AXIS_Y, -5, 2);
    plot.axis(PLOT_AXIS_XY, PLOT_OFF);
    plot.border(PLOT_BORDER_ALL, PLOT_ON);
    plot.plotting();
}