fn_minmax

Contents

Syntax

fn_minmax(action,x1,x2,..)

Description

utility to easily compute best axes positions...
'action' determines what to do :
- 'minmax'       -> [min(xi(1)) max(xi(2))]
- 'maxmin'       -> [max(xi(1)) min(xi(2))]
- 'axu' or 'u'   -> [min max min max ...] (i.e. union of 2 ranges)
- 'axi' or 'i'   -> [max min max min ...] (i.e. intersection of 2 ranges)
- logical vector -> 0 for min, 1 for max
some xi can be empty, or there can be only one x1 which is a matrix, in
which case min and max operations are performed on its columns

Source

Thomas Deneux

Copyright 2006-2017