#### 3.5.1 Style keyword ¶

Graphics styles are ordinarily read from files, which you load by means of the style= keyword to the window command. The Yorick distribution comes with several style files:

The `work.gs` file is the default style and my own preference. Many people prefer the `boxed.gs` style, which looks more like other graphics packages (baaa baaa). The `vg.gs` file stands for “viewgraph graphics style”, which I recommend as the starting point for high quality graphics. There is a `vgbox.gs` style as well. The `axes.gs` style has coordinate axes with ticks running through the middle of the viewport, similar to the style of many elementary math textbooks. The `nobox.gs` style has no tick marks, labels, or other distractions; use it for drawing geometrical figures or imitating photographs. The `work2.gs` and `boxed2.gs` styles are variants which allow you to put a second set of tick marks and labels on the right hand side of the plot, independent of the ones on the left side. (This is a little cumbersome in Yorick, but if you really need it, that’s how you’re supposed get it.) Finally, `l_nobox.gs` is a variant of the nobox style in landscape orientation; all the other styles give portrait orientation.

For example,

    window, style="nobox.gs"

switches to the nobox style. This clears the current display list; the new style will take effect with your next plot. If you have several different windows, they may have different styles; each window has its own style, just as it has its own display list.

The style files are in the `Y_SITE+"gist"` directory; the file `work.gs` in that directory contains enough comments for you to see how to write your own variants of the distribution style files. You can put variants into either that public directory, or into a private directory called `~/Gist`, or in Yorick’s current working directory to enable the style= keyword to find them.