Barplot - HP 48gII Advanced User's Reference Manual

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

When the plot type is BAR, the DRAW command plots a bar chart using data from one column
of the current statistics matrix (reserved variable DAT). The column to be plotted is specified
by the XCOL command, and is stored in the first parameter of the reserved variable PAR. The
plotting parameters are specified in the reserved variable PPAR, which has the following form:
For plot type BAR, the elements of PPAR are used as follows:
• (x
, y
min
of the display range). The default value is (–6.5,–3.1) for the hp48gII and (–6.5,–3.9) for the
hp49g+.
• (x
, y
max
corner of the display range). The default value is (6.5,3.2) for the hp48gII and (6.5,4.0) for the
hp49g+.
• indep is either a name specifying a label for the horizontal axis, or a list containing such a name
and two numbers, with the smaller of the numbers specifying the horizontal location of the
first bar. The default value of indep is X.
• res is a real number specifying the bar width in user-unit coordinates, or a binary integer
specifying the bar width in pixels. The default value is 0, which specifies a bar width of 1 in
user-unit coordinates.
• axes is a list containing one or more of the following, in the order listed: a complex number
specifying the user-unit coordinates of the plot origin, a list specifying the tick-mark
annotation, and two strings specifying labels for the horizontal and vertical axes. The default
value is (0,0).
• ptype is a command name specifying the plot type. Executing the command BAR places the
command name BAR in PPAR.
• depend is a name specifying a label for the vertical axis. The default value is Y.
A bar is drawn for each element of the column in DAT. Its width is specified by res and its
height is the value of the element. The location of the first bar can be specified by indep;
otherwise, the value in (x
...µ
Access:
Input/Output: None
See also:
CONIC, DIFFEQ, FUNCTION, GRIDMAP, HISTOGRAM, PARAMETRIC,
PARSURFACE, PCONTOUR, POLAR, SCATTER, SLOPEFIELD, TRUTH, WIREFRAME,
YSLICE

BARPLOT

Type:
Command
Description: Draw Bar Plot Command: Plots a bar chart of the specified column of the current statistics
matrix (reserved variable DAT).
The data column to be plotted is specified by XCOL and is stored as the first parameter in
reserved variable PAR. The default column is 1. Data can be positive or negative, resulting in
bars above or below the axis. The y-axis is autoscaled, and the plot type is set to BAR.
When BARPLOT is executed from a program, the resulting plot does not persist unless
PICTURE, PVIEW (with an empty list argument), or FREEZE is subsequently executed.
...µ
Access:
Input:
None
Output:
A bar chart based on DAT.
See also:
FREEZE, HISTPLOT, PICTURE, PVIEW, SCATRPLOT, XCOL
{ (x
, y
min
min
) is a complex number specifying the lower left corner of PICT (the lower left corner
min
) is a complex number specifying the upper right corner of PICT (the upper right
max
, y
) is used.
min
min
BAR
BARPLOT
) (x
) indep res axes ptype depend }
, y
max
max
Full Command and Function Reference 3-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents