JWAVE allows you to easily write visual data analysis applications for the Web through simple
HTML code and JavaScript. JWAVE ships with a prewritten applet called JWaveApplet. The
following examples demonstrate how you can get started immediately writing your JWAVE
applications with a minimal amount of code.
The examples include:
- JWaveApplet
Example 1 - This page contains a single JWaveApplet that
calls JWAVE to make a plot. All plot parameters (and data) are
set and generated by the JWAVE Wrapper function.
- JWaveApplet
Example 2 - This page contains a single JWaveApplet that
calls JWAVE to make a plot. There is some simple JavaScript in
this page that initializes some parameters (colors and linestyle)
used by the JWAVE Wrapper function. The Wrapper function generates
its own data.
- JWaveApplet
Example 3 - This page contains a single JWaveApplet that
calls JWAVE to make a plot. There is some JavaScript in this page
that sets parameters used by the JWAVE Wrapper function. The parameters
set by JavaScript are controlled by HTML FORM tags. There are
some JavaScript helper functions provided in this page to help
interface the FORM tags with JWAVE. The Wrapper function still
generates its own data.
- JWaveApplet
Example 4 - There are two JWAVE applets running in this
page. They share a connection to a single PV-WAVE session and
can share data on the server side. One applet is invisible and
uses the JWaveExecute class to create data on the server. The
resulting data stays on the server (stored by the Data Manager).
The second applet uses the JWaveView class to make a plot of the
data created by the first applet.
- JWaveApplet
Example 5 - There are two JWAVE applets running in this
page. They share a connection to a single PV-WAVE session and
can share data on the server side. One applet is invisible and
uses the JWaveExecute class to create some data. The resulting
data stays on the server (stored by the Data Manager). The second
applet uses the JWaveView class to make a plot of the data created
by the first applet using one of two Wrapper functions that each
create a particular type of plot.