[LON-CAPA-cvs] cvs: loncom /homework/templates Plot.problem

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 21 Oct 2002 14:54:40 -0000


matthew		Mon Oct 21 10:54:40 2002 EDT

  Modified files:              
    /loncom/homework/templates	Plot.problem 
  Log:
  Rewrite and reformat.  Removed id parameter from numerical response tag.
  (Bug 891).
  
  
Index: loncom/homework/templates/Plot.problem
diff -u loncom/homework/templates/Plot.problem:1.1 loncom/homework/templates/Plot.problem:1.2
--- loncom/homework/templates/Plot.problem:1.1	Thu Jun  6 04:56:43 2002
+++ loncom/homework/templates/Plot.problem	Mon Oct 21 10:54:40 2002
@@ -1,29 +1,27 @@
 <problem>
-<script type="loncapa/perl"># Enter computations here</script><gnuplot width="300" transparent="off" grid="on" font="large" bgcolor="xffffff" height="300" align="left" fgcolor="x000000" border="on">
-    <axis xmin="0" ymin="0" xmax="15" ymax="15" color="x000000" />
 
-    <xlabel>Label X</xlabel>
+<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">
+    <axis xmin="0" ymin="0" xmax="10" ymax="10" color="x000000" />
+    <xlabel>Label X</xlabel>
     <ylabel>Label Y</ylabel>
-
-    
-
-
     <curve linestyle="linespoints" name="My Plot" pointtype="0" color="x000000">
-     <data>1,2,3,4,5,6,7,8,9,10</data>
-     <data>1,2,3,4,5,6,7,8,9,10</data>
-</curve>
+        <data>1,2,3,4,5,6,7,8,9</data>
+        <data>1,2,3,4,5,6,7,8,9</data>
+    </curve>
 </gnuplot>
 
-
 <startouttext />Enter Question Text Here.<endouttext />
-<numericalresponse answer="" id="11">
-	<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 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>
+