Code covered by the BSD License  

Highlights from
PIVMat 3.02

image thumbnail

PIVMat 3.02

by

 

27 Apr 2006 (Updated )

A PIV Post-processing and data analysis toolbox

shiftf (PIVMat Toolbox)
shiftf (PIVMat Toolbox)
PIVMat Function Reference<< Prev | Next >> 
shiftf
Shift the axis of a vector/scalar field.

Description
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 

 Previous: setoriginfNext: showf 

2005-2013 PIVMat Toolbox 3.02

Contact us