Code: Select all
pagecreate(page=local) u 1 500
rndseed(type=mt) 12357
!pi = @acos(-1)
series x = rnd
series y0 = sin(2*!pi*x^3)^3
series y = y0 +nrnd*(0.1^0.5)
group g x y
g.distdata(dtype=kernfit) mkf
If I change the last line to
Code: Select all
g.distdata(dtype=kernfit) mkf 'mkf01
then there will be an error. Note that only a comment is added to the end of line!