Skip to content

pan

plot · scripts/plot/util/pan.m

pan on
pan off
pan xon
pan yon
pan
pan (fig, option)
h = pan (fig)
  Switch mouse panning of the axes in a figure (default: the current
  figure) on or off, restricted to the x or y direction with "xon" and
  "yon"; without option the state is toggled.  With an output and only a
  figure the mode object (a struct with Enable and Motion) is returned
  and nothing is changed.