section w of routines in graph.i

Home Manual Packages Global Index Keywords Quick Reference | # functions in graph.i - w
width |
                 width=   plotting keyword

         selects line width.  Valid values are positive floating point numbers
         giving the line thickness relative to the default line width of one
         half point, width= 1.0.
       PLOTTING COMMANDS: plg, plm, plc, pldj, plv (only if hollow=1)

    keyword,  defined at i0/graph.i   line 840
SEE ALSO: | type, color, marks, marker, rays, closed, smooth
window |
                 window, n, display="host:server.screen", dpi=100/75, wait=0/1,
                            private=0/1, hcp="hcp_filename", dump=0/1,
                            legends=1/0, style="style_sheet_filename",
                            width=wpixels,height=hpixels,rgb=1

         select window N as the current graphics output window.  N may
         range from 0 to 7, inclusive.  Each graphics window corresponds to
         an X window, and optionally has its own associated hardcopy file.
         If N is omitted, it defaults to the current coordinate system.
         The X window will appear on your default display at 75 dpi, unless
         you specify the display and/or dpi keywords.  A dpi=100 X window
         is larger than a dpi=75 X window; both represent the same thing
         on paper.  Use display="" to create a graphics window which has
         no associated X window (you should do this if you want to make
         plots in a non-interactive batch mode).
         By default, if the X window needs to be created, the graphics area
         will be 450x450 pixels if dpi=75, or 600x600 pixels if dpi=100,
         representing a 6x6 inch square on hardcopy paper.  You can override
         this default initial size using the width and height keywords.
         These settings remain in force indefinitely; use width=0,height=0
         to return to the default dpi-dependent behavior.  For a dpi=75,
         landscape=0 window, width=638,height=825 displays the entire sheet
         of hardcopy paper.  Supplying these keywords will not change the
         size of an existing window; only newly created windows.
         By default, an X window will attempt to use shared colors, which
         permits several Yorick graphics windows (including windows from
         multiple instances of Yorick) to use a common palette.  You can
         force an X window to post its own colormap (set its colormap
         attribute) with the private=1 keyword.  You will most likely have
         to fiddle with your window manager to understand how it handles
         colormap focus if you do this.  Use private=0 to return to shared
         colors.
         By default, Yorick will not wait for the X window to become visible;
         code which creates a new window, then plots a series of frames to
         that window should use wait=1 to assure that all frames are actually
         plotted.
         By default, a graphics window does NOT have a hardcopy file
         of its own -- any request for hardcopy are directed to the
         default hardcopy file, so hardcopy output from any window goes
         to a single file.  By specifying the hcp keyword, however, a
         hardcopy file unique to this window will be created.  If the
         "hcp_filename" ends in ".ps", the hardcopy file will be a PostScript
         file; otherwise, hardcopy files are in binary CGM format.  Use
         hcp="" to revert to the default hardcopy file (closing the window
         specific file, if any).  The legends keyword, if present, controls
         whether the curve legends are (legends=1, the default) or are not
         (legends=0) dumped to the hardcopy file.  The dump keyword, if
         present, controls whether all colors are converted to a gray scale,
         (dump=0), or the current palette is dumped at the beginning of each
         page of hardcopy output (dump=1, the default).  (The legends keyword
         applies to all pictures dumped to hardcopy from this graphics
         window.  The dump keyword applies only to the specific hardcopy
         file defined using the hcp keyword -- use the dump keyword in the
         hcp_file command to get the same effect in the default hardcopy
         file.)
         Use rgb=1 to set the rgb color model when you are creating a
         window on an 8-bit display on which you intend to use three
         component rgb colors (see color).  This installs the 5x9x5
         colorcube and avoids having to issue the palette command
         after the first true color object has been drawn.
         If both display="" and hcp="", the graphics window will be
         entirely eliminated.
         The style keyword, if present, specifies the name of a Gist style
         sheet file; the default is "work.gs".  The style sheet determines
         the number and location of coordinate systems, tick and label styles,
         and the like.  Other choices include "axes.gs", "boxed.gs",
         "work2.gs", and "boxed2.gs".
         If invoked as a function, window(...) returns the current
         window number.

    builtin function, documented at i0/graph.i   line 13
SEE ALSO: | plsys, hcp_file, fma, hcp, redraw, palette, animate, plg, winkill, gridxy
winkill |
                 winkill
              or winkill, n

         deletes the current graphics window, or graphics window N (0-7).

    interpreted function, defined at i0/graph.i   line 96
SEE ALSO: | window