<< lowdisc_dec2bin Support Functions

Low Discrepancy >> Low Discrepancy > Support Functions > lowdisc_proj2d

lowdisc_proj2d

Plots 2 dimensional projections.

Calling Sequence

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.

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 = 1.e2;
n = 6;
ldseq = "haltonf";
strict = %t;
[ evalf , u ] = lowdisc_ldgen ( callf , n , ldseq );
// See all possible projections.
lowdisc_proj2d ( u , 1:n )
// 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


<< lowdisc_dec2bin Support Functions