Annotation of loncom/homework/templates/Plot_data.problem, revision 1.3

1.1       matthew     1: <problem>
                      2: 
                      3: <script type="loncapa/perl">
                      4: # Enter computations here
                      5: ### $amplitude = &random(1,4,0.5);
                      6: ### $x_min = -5;
                      7: ### $x_max =  5;
                      8: ### for ($x=$x_min;$x<=$x_max;$x=$x+0.05) {
                      9: ###     push(@X,$x);
                     10: ###     push(@Y,$amplitude*sin($x));
                     11: ### }
                     12: </script>
                     13: 
1.3     ! albertel   14: <gnuplot width="300" transparent="off" samples="100" grid="on" font="9" bgcolor="xffffff" height="300" align="left" fgcolor="x000000" border="on" plottype="Cartesian" >
1.1       matthew    15:     <axis xmin="0" ymin="0" xmax="10" ymax="10" color="x000000" />
                     16:     <xlabel>Label X</xlabel>
                     17:     <ylabel>Label Y</ylabel>
                     18:     <curve linestyle="linespoints" name="My Plot" pointtype="0" color="x000000">
                     19:         <data>1,2,3,4,5,6,7,8,9</data>
                     20:         <data>1,2,3,4,5,6,7,8,9</data>
                     21:     </curve>
                     22: </gnuplot>
                     23: 
                     24: <startouttext />Enter Question Text Here.<endouttext />
                     25: 
                     26: <numericalresponse answer="">
                     27:     <responseparam name="tol" type="tolerance" description="Numerical Tolerance" default="5%" />
                     28:     <responseparam name="sig" type="int_range,0-16" description="Significant Figures" default="0,15" />
                     29:     <textline />
                     30: <hintgroup>
1.2       www        31: <startouttext /><endouttext />
1.1       matthew    32: </hintgroup>
                     33: </numericalresponse>
                     34: </problem>
                     35: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>