biplot

biplot(name::String | D::GMTDataset; arrow::Tuple=(0.3, 0.5, 0.75, "#0072BD"), cmap=:categorical,
       colorbar::Bool=true, marker=:point,ms="auto", obsnumbers::Bool=false, PC=(1,2),
       varlabels=:yes, xlabel="", ylabel="", kw...)

Create a 2D biplot of the Principal Component Analysis (PCA) of a two-dimensional chart that represents the relationship between the rows and columns of a table.

The biplot function:

Examples

See the classic analysis of the Iris dataset.

using GMT
biplot(TESTSDIR * "iris.dat", show=true)

Plot a 6 cm fig with the observarion numbers.

using GMT
biplot(TESTSDIR * "iris.dat", figsize=6, obsnumbers=true, show=true)