To plot mathematical text, this function uses base graphics
functions to plot it to a
.png file, then uses that
file as a texture in a sprite.
plotmath3d(x, y = NULL, z = NULL, text, cex = par("cex"), adj = 0.5, pos = NULL, offset = 0.5, fixedSize = TRUE, startsize = 480, initCex = 5, ...)
|x, y, z||
coordinates. Any reasonable way of defining the
coordinates is acceptable. See the function
A character vector or expression. See
Character size expansion.
one value specifying the horizontal adjustment, or two, specifying horizontal and vertical adjustment respectively, or three, for depth as well.
alternate way to specify
Should the resulting sprite behave like the default ones, and resize with the scene, or like text, and stay at a fixed size?
These parameters are unlikely to be needed by users.
Additional arguments to pass to
text3d function passes calls to this
function if its
usePlotmath argument is
The default value is determined by examining its
texts argument; if it looks like an expression,
plotmath3d is used.
Called for the side effect of displaying the sprites. The shape ID of the displayed object is returned.