<< lowdisc_plotelembox Support Functions

Low Discrepancy >> Low Discrepancy > Support Functions > lowdisc_proj2d

lowdisc_proj2d

Plots 2 dimensional projections.

Calling Sequence

lowdisc_proj2d ( u )
lowdisc_proj2d ( u , dimensions )

Parameters

u :

a nsim-by-n matrix of doubles, the numbers in the interval [0,1]^n, where nsim is the number of simulations and n is the dimension of the space.

dimensions :

a p-by-1 matrix of floating point integers, dimensions to plot (default=1:n).

Description

Plots the required two dimensionnal projections of u.

This function allows to see all the 2 dimensionnal projections of a multivariate vector u.

Examples

callf = 100;
n = 6;
[ u , evalf ] = lowdisc_ldgen ( callf , n );
// See all possible projections.
scf();
lowdisc_proj2d ( u )
// See all projections for dimensions 2,3,6.
scf();
lowdisc_proj2d ( u , [2,3,6] )
// See projection (3,6)
scf();
lowdisc_proj2d ( u , [3,6] )
// In this case, we could also use :
scf();
plot( u(:,3) , u(:,6) , "bo" )

Authors


Report an issue
<< lowdisc_plotelembox Support Functions