Graphics
The following directives for produce the plots in "line-printer" style, i.e. using the characters of
ordinary textual output:
produces contour maps of two-way arrays of numbers
produces scatter plots and line graphs
plots histograms
GenStat can also produce high-resolution plots. The relevant directives have two main purposes.
There are those that define the "graphics environment" for subsequent plots, and those that do
the plotting. Often the default environment, set up at the start of a program, will be satisfactory.
To change the graphics environment, the following directives can be used:
defines the x-axis in each graphical window
defines the y-axis in each graphical window
defines the z-axis in each graphical window
defines the x- and y-axes in each graphical window
defines the colour map for certain graphics devices
switches between graphics devices
defines the positions of the windows within the frame
defines the properties of the graphics "pens"
saves information about the graphics environment in GenStat data
structures
loads the graphics environment settings from an external file
saves the current graphics environment settings to an external
file
The directives for plotting high-resolution graphs are:
plots barcharts
produces scatter plots and line graphs
plots histograms
produces pie charts
produces contour maps
produces a shade diagram of 3-dimensional data
draws a perspective plot of a two-way array of numbers
plots a 3-dimensional graph
produces 3-dimensional histograms
starts a sequence of related plots
ends a sequence of related plots
redraws the current graphical display
clears a graphics screen
Other facilities, provided by procedures in the graphics module of the Library include:
calculates the optimum aspect ratio for a graph
draws box-and-whisker diagrams (schematic plots)
plots barcharts for one or two-way tables
plots circular data
plots 3-part compositional data within a barycentric
triangle
produces diagnostic plots for space-time clustering
plots discrete data like mass spectra, discrete probability
functions
plots dot histograms
produces a dot-plot
creates probability distribution plots
produces model-checking plots of residuals
produces a scatter-plot matrix
adds text to a graph
produces horizontal bars displaying a continuous time
record
forms multiple windows in a plot-matrix for high-resolution
graphics
determines whether points lie within a specified polygon
plots the Lorenz curve and calculates the Gini and asymmetry
coefficients
draws "rugplots" to display the distribution of one or more
samples
produces a simple stem-and-leaf chart
produces trellis plots for each level of one or more factors
plots rose diagrams of circular data like wind speeds