Executing SCALEW changes the
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 | ||
| 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
SCATTERType: 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
•(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
Full Command and Function Reference