Here are some examples of using plot2corner:
stilts plot2corner in=:attractor:100000,rampe
nvar=3 x1=x x2=y x3=z
layer_m=mark
stilts plot2corner in=:attractor:100000,rampe
nvar=3 x1=x x2=y x3=z
matrixformat=full
layer_m=mark layer_h=histogram
matrixformat=full parameter
means that the full grid (with redundant plots also for
Y vs. X, Z vs. X, and Z vs. Y) are plotted above the diagonal.
stilts plot2corner in=rrlyrae.fits
icmd_A='select best_classification==\"RRAB\"'
icmd_C='select best_classification==\"RRC\"'
color_A=red color_C=cyan
nvar=4 x1=peak_to_peak_g x2=p1 x3=r21_g x4=phi21_g x4min=3
layer_A_m=mark layer_C_m=mark
layer_A_k=kde layer_C_k=kde smooth_A_k=-50 smooth_C_k=-50
layer_f=contour color_f=light_grey smooth_f=10 nlevel_f=6
leglabel_A=RRAB leglabel_C=RRC legseq=_A_m,_C_m legpos=1,1
x4min parameter.
As well as the mark and kde layers,
an additional contour layer (of the whole input table)
is overplotted on the scatter plot grid elements.