Menu

DrawMultiSpace

A. Smith

Automatic plotting (drawMultiSpace)

If more than four experiments are used, then the reduced space cannot be plotted, although multiple projections of the space may be used to visualize the space. ‘drawMultiSpace’ automatically calculates and plots a set of 2D projections for visualizing a given space, showing up to 16 2D projections. One simply calls:

rates=drawMultiSpace(rates);

This will automatically calculate and plot the 2D projections of the space (with many measurements, all possible projections may not be shown, but those shown are optimized to fully define the space). Note that the output and input variables are the same. ‘drawMultiSpace’ simply adds a field to this variable ‘space’, which is a cell containing all of the calculated spaces. If ‘drawMultiSpace’ is run again with ‘rates’ as input, the space calculation step will be skipped, since the results of this step are already stored in ‘rates’.

It is also possible to specify which projections are desired, or request 3D projections. To specify a set of 2D projections, one requires a ‘par.rates’ field. This has the same form as ‘par.rates’ given to the get_space function, except that instead of having 2 entries for the two dimensions in the reduced space, it must have Nx2 entries, for every space to be drawn (N spaces). For example:

par.rates={‘R11’,’R12’;’R11’,’NOE1’;’R12’,’NOE1’};

Note that each 2D space is specified in its own row of the ‘par.rates’ cell. Similarly, the ‘par.red’’ field must be provided. However, this cell only has one row, since all spaces drawn by ‘drawMultiSpace’ should be divided by the same ΣζRζ(θ,S).
One may also request to plot 3D projections, in which case one must also provide the field ‘par.rates3’. This takes the same form as ‘par.rates’, but instead of providing an Nx2 cell, one must provide an Nx3 cell (up to 4 spaces allowed).
In each case, ‘drawMultiSpace’ is called with the ‘par’ variable as

rates=drawMultiSpace(rates,par);

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.