#include <chplot.h> int main() { double x[7] = {0, 2, 2, 2, 0, 0, 0}, y[7] = {0, 0, 0, 3, 3, 3, 0}, z[7] = {0, 0, 4, 4, 4, 0, 0}; class CPlot plot; int datasetnum, pointtype, pointsize; plot.dimension(3); plot.polygon(x, y, z); plot.point(0, 0, 0); plot.point(2, 0, 0); plot.point(2, 0, 4); plot.point(2, 3, 4); plot.point(0, 3, 4); plot.point(0, 3, 0); for(datasetnum=1, pointtype=1, pointsize=1; datasetnum <= 6; datasetnum++, pointtype++, pointsize++) plot.plotType(PLOT_PLOTTYPE_POINTS, datasetnum, pointtype, pointsize); chplot.hiddenLineRemoval(PLOT_OFF); plot.plotting(); }