section g of routines in style.i

Home Manual Packages Global Index Keywords Quick Reference | # functions in style.i - g
get_style |
                 get_style, landscape, systems, legends, clegends

         get the detailed style of the current drawing.  The arguments
         are all outputs:
         landscape: 1 if drawing is landscape orientation, 0 if portrait
         system:    an array of GfakeSystem struct instances, one per
                    coordinate system in this drawing (ordinarily just one).
         legends:   a GeLegendBox structure instance describing the layout
                    of the plot legends
         clegends:  a GeLegendBox structure instance describing the layout
                    of the contour legends
         See the help for the GeLegendBox and GpTextAttribs structs for
         the details of the legends and clegends arguments.  Basically,
         you can adjust the location of the legends on the page, the
         font and height of the characters used to render legends, and
         whether the legends are split into two columns.
         The coordinate systems are the systems accessible via the
         plsys command.  The index of the system in the system array is
         the index you use to switch to it in the plsys command.  Simple
         styles have only one coordinate system, and you should carefully
         consider whether you should design a graphic style with multiple
         coordinate systems -- most likely, you can do a better job by
         combining several separate Yorick pictures with some sort of
         page layout program, rather than trying to do this work within
         Yorick itself.
         See the help for the GfakeSystem struct for complete details of
         what you can adjust.  The most interesting features you can
         control are the location and aspect ratio of the viewport, and
         the details of the axis ticks and labels.  The gridxy function
         provides a simpler interface for fiddling with ticks and labels
         if that is all you need.  The system.viewport member is the
         [xmin,xmax,ymin,ymax] of the rectangle on the page where your
         plots will appear, expressed in NDC coordinates (0.0013 NDC units
         equals one point, and there are 72.27 points per inch, and 2.54
         cm per inch; the NDC origin is always at the lower left hand
         corner of the paper, with x increasing leftward and y increasing
         upward).  If you change the size of the viewport, you will also
         need to change the parameters of the tick-generating model; like
         other problems in typography and page layout, this is harder
         than you might think.

    interpreted function, defined at i/style.i   line 10
SEE ALSO: | set_style, read_style, write_style