PIVMat Function Reference<< Prev | Next >> 
setoriginf
Set the origin (0,0) of vector/scalar fields.

Description
SF = setoriginf(F, [X,Y]) returns the same vector/scalar field(s) 
with the origin (0,0) redefined at the new point (X,Y). 
(X,Y) do not need to be inside the field. 
 
If no output argument, the result is displayed by showf. 
 
Example
 
   v = setoriginf(loadvec('*.vc7'), [12.8, -20]); 
   showf(v); 
 
See Also
shiftf, truncf, flipf, extractf, rotatef, changefieldf 
 
Published output in the Help browser 
   showdemo setoriginf 

 Previous: rrmdirNext: shiftf 

2005-2016 PIVMat Toolbox 4.01