SF = shiftf(F, 'origin') returns the same vector/scalar field(s) with
the axis X and Y shifted, so that (X,Y)=(0,0) is redefined according
to the option 'origin':
- 'bottomleft', 'bl' (by default)
- 'bottomright', 'br'
- 'topleft', 'tl'
- 'topright', 'tr'
- 'center', 'c', 'middle'
If no output argument, the result is displayed by showf.
Example
v = shiftf(loadvec('*.vc7'),'center');
showf(v);
See Also
setoriginf, truncf, flipf, extractf, rotatef, changefieldf
Published output in the Help browser
showdemo shiftf