e-Statistics > Developer Guide

imageBox

It generates HTML tag <img> to which you can set a graphical image. It also takes advantage of the browser's support on drag-and-drop and data transfer operations. You can drag and drop an image into another native application such as Word. Or, cut or copy the image by the key Control-X or Control-C.

The following applet @imagebox is placed above.

\applet {imageBox}{imagebox}{width=90\% height=300} {}

The R execution on the left refers to @imagebox, and display the image output at the place where @imagebox was generated.

\begin{comboBox} {execute}{width=160 height=25}{TITLE="Execute R code"}
#imageBox=imagebox;
x = seq(-3.0,3.0,length=100);
plot(x,dnorm(x),type='l');
\end{comboBox}


© TTU Mathematics