Description Usage Arguments Value Generated file
Opens a new RGL graphics device.
1 2 |
type |
Specifies the type of RGL graphics device |
filename |
The filename of the Javascript-embedded HTML file saved. |
width, height |
The width and height in pixels of the RGL figure. |
scale |
A |
aspectRatio |
A |
... |
Additional arguments passed to the device |
Returns a DevEvalFileProduct
.
If argument field
is given, then the field of the
DevEvalProduct
is returned instead.
If created, the generated file is saved in the directory
specfied by argument path
with a filename consisting of
the name
followed by optional comma-separated tags
and a filename extension given by argument ext
.
By default, the file is only created if the expr
is evaluated completely. If it is, for instance, interrupted
by the user or due to an error, then any incomplete/blank
file that was created will be removed. This behavior can be
turned of using argument onIncomplete
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.