SF = shiftf(F) returns the same vector/scalar field(s) with the axis X
and Y shifted, so that (X,Y)=(0,0) is in the left corner of the field
(bottom-left corner when Y is upward, and top-left corner when Y is
downward).
SF = shiftf(F, OPT) does the same, specifying the new origin (0,0):
- 'center', 'c', 'middle'
- 'bottomleft', 'bl' (by default)
- 'bottomright', 'br'
- 'topleft', 'tl'
- 'topright', 'tr'
If no output argument, the result is displayed by showvec or showscal.
See Also
truncf, extractf, rotatef, bwfilterf.
Published output in the Help browser
showdemo shiftf