Executing SCALEW changes the xaxis display range—the

xmin and xmax components of the first

 

two complex numbers in the reserved variable PPAR. The plot origin (the userunit coordinate of

 

the center pixel) is not changed.

 

 

Access:

…µSCALEW

 

 

Input/Output:

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

xfactor

 

 

 

 

 

 

See also:

AUTO, SCALEH, XRNG

 

 

 

 

 

 

 

SCATRPLOT

Command

 

 

Type:

 

 

Description:

Draw Scatter Plot Command: Draws a scatterplot of (x, y) data points from the specified columns

 

of the current statistics matrix (reserved variable ΣDAT ).

 

 

The data columns plotted are specified by XCOL and YCOL, and are stored as the first two

 

parameters in the reserved variable ΣPAR. If no data columns are specified, columns 1

 

(independent) and 2 (dependent) are selected by default. The yaxis is autoscaled and the plot type

 

is set to SCATTER.

 

 

 

When SCATRPLOT is executed from a program, the resulting display does not persist unless

 

PICTURE or PVIEW is subsequently executed.

 

 

Access:

…µSCATRPLOT

 

 

Input/Output:

None

 

 

Example: The following program plots a scatter plot of the data in columns 3 and 4 of ΣDAT, draws a best fit line, and displays the plot:

«3 XCOL 4 YCOL SCATRPLOT BESTFIT ΣLINE STEQ FUNCTION DRAW { # 0d # 0d } PVIEW 7 FREEZE »

See also: BARPLOT, PICTURE, HISTPLOT, PVIEW, SCLΣ, XCOL, YCOL

SCATTER

Type: Command

Description: Scatter Plot Type Command: Sets the plot type to SCATTER.

When the plot type is SCATTER, the DRAW command plots points by obtaining x and y coordinates from two columns of the current statistics matrix (reserved variable ΣDAT). The columns are specified by the first and second parameters in the reserved variable ΣPAR (using the XCOL and YCOL commands). The plotting parameters are specified in the reserved variable PPAR, which has this form:

{(xmin, ymin), (xmax, ymax), indep, res, axes, ptype, depend } For plot type SCATTER, the elements of PPAR are used as follows:

(xmin, ymin) is a complex number specifying the lower left corner of PICT (the lower left corner of the display range). The default value is (–6.5,–3.1) for the HP 48gII and (–6.5,–3.9) for the HP 50g and 49g+.

(xmax, ymax) is a complex number specifying the upper right corner of PICT (the upper right corner of the display range). The default value is (6.5,3.2) for the HP 48gII and (6.5,4.0) for the HP 50g and 49g+.

indep is a name specifying the independent variable. The default value of indep is X.

res is not used.

axes is a list containing one or more of the following, in the order listed: a complex number specifying the userunit coordinates of the plot or igin, a list specifying the tickmark annotation, and two strings specifying labels for the horizontal and vertical axes. The default value is (0,0).

Full Command and Function Reference 3217

Page 337
Image 337
HP 48gII Graphing, 50g Graphing manual Scatrplot, Scatter, AUTO, SCALEH, Xrng