Description Usage Arguments Value Author(s) See Also Examples
This graphics device is the one responsible for generating ActionScript code that displays R plots in Flash based on high-level graphics objects within Flash.
We typically use mxmlDevice
to generate and compile an entire Flash application that can be viewed
directly or in a Web browser.
1 2 3 4 |
file |
to where the generated code should be written. This can be the name of a local file, or a connection. |
dim |
a numeric vector of length 2 giving the width and height of the graphics device. |
col |
the "initial" color to use for drawing. |
fill |
the initial color to use for filling rectangles, circles, polygons, etc. |
ps |
the initial point size for fonts. |
font |
a |
wrapup |
a function that is called when the device is closed. This is invoked with a
list with an element for each of the generated plots and each element is a character vector containing
the generated code. The second argument is |
top |
the offset (an integer) for the top of the plot relative to the Flash application. This can be used to leave space at the top of the application for other components. |
left |
the offset (an integer) for the left side of the plot relative to the Flash application. This can be used to leave space at the left side of the application for other components. |
... |
additional parameters passed directly to |
funs |
a collection of functions that provide implementation for
the methods of the graphics device for drawing, e.g., circles,
lines, text, polygons, etc. This an object of class
|
A reference to the C-level device. This is an object of class
DevDescPtr-class
.
Duncan Temple Lang
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.