fn_controlpositions

Contents

Syntax

fn_controlpositions(hu,hp,posrel,pospix)

Description

set the position of controls relatively to an axes, and set the
appropriate listeners to automatically update those positions in case of
change of figure position, etc...
Input
- hu      control handle
- hp      axes or figure handle
- posrel  position relative to axes/figure ([0 0] = bottom-left corner,
          [1 1] = up-right corner)
- pospix  position in pixels to add to 'posrel' and size of control

Source

Thomas Deneux

Copyright 2008-2017