More complicated functions, whose equations are long or consist of conditional statements can be plotted by giving a definition with one or several if-then-else statements as follows: Example: Plotting the density function of the sum of 3 independent variables uniformly distributed over (0,1). . XSCALE=0(1)3 YSCALE=0(0.1)1 PLOT y(x)=if(x<1)then(x*x/2)else(y2) y2=if(x<2)then(x*x/2-3*(x-1)*(x-1)/2)else((x-3)*(x-3)/2) The statements may include parameters whose values are given in the edit field. Also varying parameters are permitted. C = More information on curve plotting