Contents of file 'sgfilter/fig2.mp':
1 input graph; beginfig(1); draw begingraph(120mm,50mm); setrange(0.0,-7.0,2.5,7.0); pickup pencircle scaled .5pt; gdraw "example-2.0.dat" withcolor black; pickup pencircle scaled .8pt; gdraw "example-0.0.dat" withcolor red; gdraw (0.1,-5.2)--(0.3,-5.2) withcolor red; glabel.rt(btex Underlying function $ g(x)$ etex,(0.3,-5.2)); pickup pencircle scaled .5pt; gdraw (0.1,-6.2)--(0.3,-6.2) withcolor black; glabel.rt(btex $ g(x)$ with added Gaussian noise of variance $ {
m var}(u(x))=2.0$ etex,(0.3,-6.2)); pickup pencircle scaled .25pt; autogrid(itick bot,itick lft); glabel.bot(btex $ x$ etex,OUT); glabel.lft(btex $ y$ etex,OUT); endgraph; endfig; end
2
Generated by ::viewsrc::