Name

GRAPH_BOX — Function to generate french boxplots

Calling Sequence

[STAT]=GRAPH_BOX(DATA,PLOT,CAT,[LEG,FREQ])

Parameters

DATA

Data on which statistics are calculated, matrix [NxP] with N = nb of value and P = Nb of variables. If CAT is set to true, DATA should be a [Nx2] matrix. The first column contains discrete categories and the second column the data.

PLOT

Boolean. Draw the boxplots (%T) or calculate statistics only (%F).

CAT

Boolean. Interpret the DATA as a 2 columns category matrix(%T, categories are in the first column) or as a classical data matrix (%F).

LEG

Legends for each variable (matrix [1xP], default = [V1 V2 ,...])

QTILE

Quantiles to calculate box plots (Matrix [1x5],default = [0.1,0.25,0.5,0.75,0.9])

STAT

Calculated statistics (matrix [5xP])

Description

  • The function draws boxplots according to the french format.

Examples

   // Data
   Data = rand(200,5);

   // Graphs of all pairs of variables
   Stat = GRAPH_BOX(Data);   
   
  

See Also

xrects , xsegs

Authors

Julien Lerat

CEMAGREF Antony, HBAN Unit, julien.lerat@cemagref.fr