#include <chplot.h>
#include <math.h>
int main(){
double theta[4] = {30, 60, 30, 30}, r[4] = {1, 3, 4, 1};
class CPlot plot;
plot.grid(PLOT_ON);
plot.polarPlot(PLOT_ANGLE_DEG);
plot.polygon(theta, r, NULL);
plot.plotType(PLOT_PLOTTYPE_LINES, 0, 3, 4);
plot.sizeRatio(-1);
plot.axisRange(PLOT_AXIS_XY, 0, 5);
plot.plotting();
}