EF = extractf(F,[X1 Y1 X2 Y2]) extracts a rectangular area of
coordinates [X1 Y1 X2 Y2] from the original vector/scalar field(s) F.
extractf(..,'phys') specifies coordinates in physical units (default)
extractf(..,'mesh') specifies coordinates in mesh units
EF = extractf(F) uses the active rectangle (created using the menu
Insert > Rectangle)
EF = extractf(F,'draw') lets the user draw a rectangle in the current
figure, and uses this rectangle to extract the are from F. Note that
the coordinates of the input field F must coincide with the coordinates
of the current figure.
If no output argument, the result is displayed by showf.
See Also
truncf, rotatef, shiftf, flipf, remapf.
Published output in the Help browser
showdemo extractf