File:  [LON-CAPA] / loncom / homework / templates / Plot_curve.problem
Revision 1.2: download - view: text, annotated - select for diffs
Wed Dec 17 17:55:27 2003 UTC (20 years, 5 months ago) by matthew
Branches: MAIN
CVS tags: HEAD
Now with correct XML!

    1: <problem>
    2: 
    3: <script type="loncapa/perl">
    4: # Enter computations here
    5: </script>
    6: 
    7: <gnuplot width="300" transparent="off" samples="100" grid="on" font="large" bgcolor="xffffff" height="300" align="left" fgcolor="x000000" border="on" plottype="Cartesian" >
    8:     <axis xmin="-5" ymin="-4" xmax="5" ymax="4" color="x000000" />
    9:     <xlabel>Label X</xlabel>
   10:     <ylabel>Label Y</ylabel>
   11:     <curve linestyle="linespoints" name="My Plot" pointtype="0" color="x000000">
   12:         <function>sin(x)</function>
   13:     </curve>
   14: </gnuplot>
   15: 
   16: <startouttext />Enter Question Text Here.<endouttext />
   17: 
   18: <numericalresponse answer="">
   19:     <responseparam name="tol" type="tolerance" description="Numerical Tolerance" default="5%" />
   20:     <responseparam name="sig" type="int_range,0-16" description="Significant Figures" default="0,15" />
   21:     <textline />
   22: <hintgroup>
   23: <startouttext />Enter the hint text here. <endouttext />
   24: </hintgroup>
   25: </numericalresponse>
   26: </problem>
   27: 

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