Commit b56174c8 by Alexander Kryklia

updated docs

parent ec0bdfb4
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<!-- make text and input or slider at the same line --> <!-- make text and input or slider at the same line -->
<div> <div>
<p style="float:left;"> Currently \(a\) is</p> <p style="float:left;"> Currently \(a\) is</p>
<!-- readonly input for b --> <!-- readonly input for a -->
<textbox var="a" style="width:50px; float:left; margin-left:10px;" readonly="false"/> <span id="a_readonly" style="width:50px; float:left; margin-left:10px;"/>
</div> </div>
<!-- clear:left will make next text to begin from new line --> <!-- clear:left will make next text to begin from new line -->
<p style="clear:left"> This one <p style="clear:left"> This one
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</p> </p>
<div> <div>
<p style="float:left;">Currently \(b\) is </p> <p style="float:left;">Currently \(b\) is </p>
<textbox var="b" readonly="true" style="width:50px; float:left; margin-left:10px;"/> <textbox var="b" style="width:50px; float:left; margin-left:10px;"/>
</div> </div>
<div style="clear:left;"> <div style="clear:left;">
<p style="float:left;">To change \(a\) use:</p> <p style="float:left;">To change \(a\) use:</p>
...@@ -57,7 +57,8 @@ ...@@ -57,7 +57,8 @@
return 10.0 * b * Math.sin(a * x) * Math.sin(b * x) / (Math.cos(b * x) + 10); return 10.0 * b * Math.sin(a * x) * Math.sin(b * x) / (Math.cos(b * x) + 10);
</function> </function>
<function color="red" line="true" dot="false" label="\(y_2\)"> <function color="red" line="true" dot="false" label="\(y_2\)">
return Math.sin(a * x); <!-- works w/o return, if function is single line -->
Math.sin(a * x);
</function> </function>
<function color="#FFFF00" line="false" dot="false" label="unknown"> <function color="#FFFF00" line="false" dot="false" label="unknown">
function helperFunc(c1) { function helperFunc(c1) {
...@@ -66,13 +67,15 @@ ...@@ -66,13 +67,15 @@
return helperFunc(x + 10 * a * b) + Math.sin(a - x); return helperFunc(x + 10 * a * b) + Math.sin(a - x);
</function> </function>
<function output="element" el_id="a_readonly">a</function>
</functions> </functions>
<plot> <plot>
<xrange> <xrange>
<min>return 0;</min> <min>return 0;</min>
<max>return 30;</max> <!-- works w/o return -->
<max>30</max>
</xrange> </xrange>
<num_points>120</num_points> <num_points>120</num_points>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment