#include <chplot.h> #include <math.h> int main() { double x_center = M_PI/3, y_center = 2.0, r = 1.5; class CPlot plot; plot.polarPlot(PLOT_ANGLE_RAD); /* Polar coordinate system */ plot.circle(x_center, y_center, r); plot.plotType(PLOT_PLOTTYPE_LINES, 0, 3, 4); plot.sizeRatio(-1); plot.axisRange(PLOT_AXIS_X, -1, 3); plot.axisRange(PLOT_AXIS_Y, 0, 4); plot.plotting(); }