Library: | plot |
See also: |
Quantlet: | plotscml | |
Description: | Plots a scatterplotmatrix with common axes where all plots are linked. |
Usage: | plotscml (data{, varnames}) | |
Input: | ||
data | vector with p columns | |
varname | text vector with p columns ( variable names are expected) |
library("plot") setsize(600, 600) x=read("bank2.dat") names="length"~"left"~"right"~"bottom"~"top"~"diag" plotscml(x, names) setgopt(d, 1, 1, "ymajor", 1) setgopt(d, 2, 1, "ymajor", 1) setgopt(d, 3, 1, "ymajor", 1) setgopt(d, 6, 1, "ymajor", 1) setgopt(d, 7, 2, "xmajor", 1) setgopt(d, 7, 3, "xmajor", 1) setgopt(d, 7, 4, "xmajor", 1) setgopt(d, 7, 7, "xmajor", 1)
A display with pxp windows is created.