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, 4 months ago) by matthew
Branches: MAIN
CVS tags: HEAD
Now with correct XML!

<problem>

<script type="loncapa/perl">
# Enter computations here
</script>

<gnuplot width="300" transparent="off" samples="100" grid="on" font="large" bgcolor="xffffff" height="300" align="left" fgcolor="x000000" border="on" plottype="Cartesian" >
    <axis xmin="-5" ymin="-4" xmax="5" ymax="4" color="x000000" />
    <xlabel>Label X</xlabel>
    <ylabel>Label Y</ylabel>
    <curve linestyle="linespoints" name="My Plot" pointtype="0" color="x000000">
        <function>sin(x)</function>
    </curve>
</gnuplot>

<startouttext />Enter Question Text Here.<endouttext />

<numericalresponse answer="">
    <responseparam name="tol" type="tolerance" description="Numerical Tolerance" default="5%" />
    <responseparam name="sig" type="int_range,0-16" description="Significant Figures" default="0,15" />
    <textline />
<hintgroup>
<startouttext />Enter the hint text here. <endouttext />
</hintgroup>
</numericalresponse>
</problem>


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