the specified figure or Simulink model to the specified orientation (landscape, portrait,or tall).
Algorithm orient sets the PaperOrientation, PaperPosition,and PaperUnits
properties of the current figure. Subsequent print operations use these properties. The result of using the portrait option can be affected by default property values as follows:
• Ifthe current figure PaperType is the same as the default figure PaperType and the default figure PaperOrientation has been set to landscape, then the orient portrait command uses the current values of PaperOrientation and PaperPosition to place the figure on the page.
• If the current figure PaperType is the same as the default figure PaperType and the default figure PaperOrientation has been set to landscape, then the orient portrait command uses the default figure PaperPosition with the x, y and width, height values reversed (i.e., [y,x,height,width]) to position the figure on the page.
• If the current figure PaperType is different from the default figure PaperType , then the orient portrait command uses the current figure PaperPosition with the x, y and width, height values reversed (i.e., [y,x,height,width]) to position the figure on the page.
See Also print, printpreview, set
PaperOrientation, PaperPosition, PaperSize, PaperType,and PaperUnits properties of figure graphics objects
"Printing" on page 1-94 for related functions