Input/Output:
Level 3/Argument 1 Level 2/Argument 2 Level 1/Argument 3 Level 1/Item 1
[[ matrix ]]1 | nposition |
| [[ matrix ]]2 | → | [[ matrix ]]3 | ||||
[[ matrix ]] | 1 | { n , n | column | } | [[ matrix ]] | 2 | → | [[ matrix ]] | 3 |
| row |
|
|
| |||||
[ vector ]1 |
| nposition |
| [ vector ]2 |
| → | [ vector ]3 |
| |
{ listtarget } |
| nposition |
| { list1 } |
| → | { listresult } |
| |
“stringtarget” |
| nposition |
| “string1” |
| → | “stringresult” |
| |
grobtarget |
| (#n, #m) | grob1 |
| → | grobresult |
| ||
grobtarget |
| (x,y) |
| grob1 |
| → | grobresult |
| |
PICT |
| (#n, #m) | grob1 |
| → |
|
| ||
PICT |
| (x,y) |
| grob1 |
| → |
|
|
Example 1: | [[ | 1 1 1 1 ][ 1 1 1 1 ][ 1 1 1 1 ]] 6 [[ 2 2 ][ 2 2 | ]] | |||
| REPL |
|
|
| ||
| returns [[ 1 1 1 1 ][ 1 2 2 1 ][ 1 2 2 1 ]]. | |||||
Example 2: | { A B C D E } 2 { F G } REPL returns { A F G D E }. | |||||
Example 3: | ERASE PICT (0,0) # 5d # 5d BLANK NEG REPL replaces a portion of | |||||
| PICT with a 5 x 5 graphics object, each of whose pixels is on (dark), and whose upper left corner | |||||
| is positioned at (0,0) in PICT. |
|
|
| ||
See also: | CHR, GOR, GXOR, NUM, POS, SIZE, SUB | |||||
|
|
|
|
|
|
|
RES | Command |
|
|
| ||
Type: |
|
|
| |||
Description: | Resolution Command: Specifies the resolution of mathematical and statistical plots, where the | |||||
| resolution is the interval between values of the independent variable used to generate the plot. | |||||
| A real number ninterval specifies the interval in user units. A binary integer #ninterval specifies the | |||||
| interval in pixels. |
|
|
| ||
| The resolution is stored as the fourth item in PPAR, with default value 0. The interpretation of | |||||
| the default value is summarized in the following table. | |||||
|
|
|
|
| ||
|
|
| Plot Type | Default Interval |
| |
|
|
|
|
|
| |
|
|
| BAR | 10 pixels (bar width = 10 pixel columns) |
| |
|
|
|
|
|
| |
|
|
| DIFFEQ | unlimited: step size is not constrained |
| |
|
|
|
|
|
| |
|
|
| FUNCTION | 2 pixels (plots a point in every other column of pixels) |
| |
|
|
|
|
|
| |
|
|
| CONIC | 2 pixels (plots a point in every other column of pixels) |
| |
|
|
|
|
|
| |
|
|
| TRUTH | 2 pixels (plots a point in every other column of pixels) |
| |
|
|
|
|
|
| |
|
|
| GRIDMAP | RES does not apply |
| |
|
|
|
|
|
| |
|
|
| HISTOGRAM | 10 pixels (bin width = 10 pixel columns) |
| |
|
|
|
|
|
| |
|
|
| PARAMETRIC | [independent variable range in user units]/130 |
| |
|
|
|
|
|
| |
|
|
| PARSURFACE | RES does not apply |
| |
|
|
|
|
|
|
|