#include <chplot.h> #include <math.h> int main(){ double theta1 = 30, theta2 = 60, r1 = 1, r2 = 3; class CPlot plot; plot.grid(PLOT_ON); plot.polarPlot(PLOT_ANGLE_DEG); plot.line(theta1, r1, 0, theta2, r2, 0); plot.plotType(PLOT_PLOTTYPE_LINES, 0, 7, 3); plot.sizeRatio(-1); plot.axisRange(PLOT_AXIS_XY, -1, 4); plot.plotting(); }