Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b56174c8
Commit
b56174c8
authored
Jan 11, 2013
by
Alexander Kryklia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated docs
parent
ec0bdfb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
docs/source/gst_example_with_documentation.xml
+8
-5
No files found.
docs/source/gst_example_with_documentation.xml
View file @
b56174c8
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment