Group: | Plot Manipulation |
See also: | createdisplay show |
Function: | ||
Description: | Prints a display or its data part |
Usage: | print(di{, l_num, c_num} {, filename}) | |
Input: | ||
di | string, name of a display | |
l_num | integer, represents the number of a row of the display di | |
c_num | integer, represents the number of a column of the display di | |
filename | optional string, name of a Postscript file |
di=createdisplay(1, 1) x=1:100 y=sin(x/20)+uniform(100, 1)/10 show(di, 1, 1, x~y, x~knn(y, 10)) print(di, "TEST.ps")
A display showing the original function y and its knn-smoothed version. Additionally a file named "TEST.ps" containing this plot is created.