Help for the JavaScript Demo
Below is a summary of the fields in the
JavaScript interface to ptplot.
-
Width
- The width in pixels of the applet.
-
Height
- The width in pixels of the applet.
-
Background Color
- Background color of the
ptplot
window.
This argument takes hexadecimal color values
(fffff
), not color names.
-
Foreground Color
- Foreground color. This color is used to draw all text
and the normal grid lines in the window.
This argument takes hexadecimal color values
(
fffff
), not color names.
-
URL Base
-
URL Base
is not actually a Ptplot option, rather it is used
by the form to improve readability. URL Base
is the URL that
is prepended on to the File to plot
value
If (NONE)
is selected in File to plot
, then
URL Base
is ignored.
-
File to plot
- A listbox consisting of the file to plot. Since this is
an applet, we can only plot files from the server. In a future version,
it might be possible to submit files to the server to be plotted
if
(NONE)
is selected, then File to plot
and URL Base
are ignored.
-
Title Text
- Title of the plot. This string is centered at the top
of the graph.
-
Title Font
- This is the name of the font to use for
the graph title.
-
Label Font
- All axis labels and grid labels are drawn
using this font.
-
X Axis Label
- This is the unit name for the X axis.
-
Y Axis Label
- This is the unit name for the Y axis.
-
Bars
- Specifies that vertical bars should be drawn from the
data points to the zero line.
Usually, the
No Lines
flag is used with this option.
The point itself is located at the center of the bar.
-
No Lines
- Turn off drawing lines.
-
Ticks
- Draw tick marks instead of full grid lines.
-
Small Points
- Marks each data point with a small marker.
-
Large Points
- Marks each data point with a large marker.
-
Reverse Video
- Reverse video. On black and white displays, this will
invert the foreground and background colors. The
behaviour on color displays is undefined.
- Display Args
Display Args
- Display Args prints a table of some of the arguments at the bottom.