#include <math.h> #include <chplot.h> int main() { array double x[360], y[360], z[360]; linspace(x, 0, 360); y = sin(x*M_PI/180); z = cos(x*M_PI/180); plotxyz(x, y, z, "Ch plot", "xlabel", "ylabel", "zlabel"); }