Skip to content

orient

plot · scripts/plot/appearance/orient.m

: orient (orientation)
: orient (fig, orientation)
: o = orient ()
: o = orient (fig)

Query or set the paper orientation of a figure.

orientation is "portrait", "landscape" or "tall" (case is ignored) and the default figure is the current figure. Landscape rotates the paper and uses the position [0.25 0.25 10.5 8] inches, portrait uses [0.25 2.5 8 6] and tall fills the portrait page with [0.25 0.25 8 10.5]. Without an orientation the present one is returned as a character vector.