User guide

6-3
Figure6.1:OneCurvePlot
6.2.1 Plotting multiple curves
Eachcolumnoftheinputmatricesistreatedasaseparatecurveorlineonthegraph.
Belowisanexamplethatusesthevariablescreatedfromtheexampleaboveandadds
anadditionalline:
x = seqa(-5, 0.1, 101);
y1 = pdfn(x);
//Set y2 to the Cauchy probability density function
y2 = pdfCauchy(x, 1, 1);
//Plot the data using the ~ operator to horizontally
//concatenate y1 and y2
//Note that y1 and y2 will be plotted against the same
//x values
plotXY(x, y1~y2);
GAUSS Graphics