forked from axkr/symja_android_library
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- based on https://github.com/paulmasson/mathcell - see paulmasson/mathcell#1 - see tranleduy2000/ncalc#67 (cherry picked from commit 9525f04)
- Loading branch information
1 parent
3c03807
commit 2c8c046
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Manipulate | ||
|
||
``` | ||
Manipulate(plot, {x, min, max}) | ||
``` | ||
|
||
> generate a JavaScript control for the expression `plot` which can be manipulated by a range slider `{x, min, max}`. | ||
**Note**: This feature is not available on all supported platforms. | ||
|
||
### Examples | ||
|
||
In the console apps, this command shows an HTML page with a JavaScript plot control, | ||
where the value of the variable `a` can be manipulated by a slider in the range `[0..10]`. | ||
|
||
``` | ||
>> Manipulate(Plot(Sin(x)*Cos(1 + a*x), {x, 0, 2*Pi}), {a,0,10}) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
symja_android_library/matheclipse-core/src/main/resources/Manipulate.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Manipulate | ||
|
||
``` | ||
Manipulate(plot, {x, min, max}) | ||
``` | ||
|
||
> generate a JavaScript control for the expression `plot` which can be manipulated by a range slider `{x, min, max}`. | ||
**Note**: This feature is not available on all supported platforms. | ||
|
||
### Examples | ||
|
||
In the console apps, this command shows an HTML page with a JavaScript plot control, | ||
where the value of the variable `a` can be manipulated by a slider in the range `[0..10]`. | ||
|
||
``` | ||
>> Manipulate(Plot(Sin(x)*Cos(1 + a*x), {x, 0, 2*Pi}), {a,0,10}) | ||
``` | ||
|