<< interpolatedfill CHE3007S kruskal >>

CHE3007S >> CHE3007S > jointplot

jointplot

Function to plot a colour encoded matrix as a heatmap

Syntax

jointplot(header, data, x, y)
jointplot(header, data, x, y, sheader, sdata, hue)
jointplot(header, data, x, y, sheader, sdata, hue, hue_bin)
jointplot(header, data, x, y, sheader, sdata, hue, hue_bin, n_points)
jointplot(header, data, x, y, sheader, sdata, hue, hue_bin, n_points, dist_type)

Parameters

header:

m x 1 vector of headers for numeric data

data:

n x m matrix of numeric data, with matrix of column vectors

x:

column number or column name to be plotted on x axis

y:

column number or column name to be plotted pn y axis

sheader:

p x 1 matrix of corresponding headers for string/text data

sdata:

n x p matrix of string/text data with data as column vectors

hue:

label of field on which to split the data into different groups and colours for plotting

hue_bin:

if hue column is corresponding to a numeric field, this is the the number of bins to split the data into linearly over range, the default for this is 5.

n_points:

number of point for colormap/colorbar, default is 10000

dist_type:

distribution type for the plot, 'kde' or 'hist'. The default value is 'hist', for a histogram plot


Report an issue
<< interpolatedfill CHE3007S kruskal >>