0byt3m1n1
Path:
C:
/
Users
/
Administrator
/
SYSTAT
/
SYSTAT_13
/
Gallery
/
[
Home
]
File: Hexagonal Binning.syc
REM This item was created using BANK, with SALNOW as the Y-variable, AGE as the X-variable, and 5 hexagonal bins. TOKEN TOKEN &message / TYPE = MESSAGE PROMPT = 'This item creates a 2-variable, scatter plot with hexagonal binning.' TOKEN &yvariable / TYPE = VARIABLE PROMPT = 'Select a Y-variable (to be, displayed on the vertical axis).' IMMEDIATE TOKEN &xvariable / TYPE = VARIABLE PROMPT = 'Select an X-variable (to be, displayed on the horizontal axis).' IMMEDIATE TOKEN &hex / TYPE = INTEGER PROMPT = 'Enter a number between 1 and 50, (inclusive) to specify the number of bins.' IMMEDIATE BEGIN PLOT &yvariable * &xvariable PLOT &yvariable * &xvariable / XGRID YGRID HEX = &hex XTICK = &hex, YTICK = &hex LOC = {5.5, 0} END 'Hexagonal Binning' TOKEN