# Graphics¶

## Graph types¶

 plotACF Plots the autocorrelations function (ACF). plotArea Creates a cumulative area plot. plotBar Creates a bar plot. plotBarH Creates a horizontal bar plot. plotBox Creates a box plot. plotCDFEmpirical Creats a cumulative distribution function (cdf) of the empirical distribution plot. plotContour Creates a contour plot. plotFreq Calculates and plots the frequencies of categorical variables. plotHist Calculates and creates a frequency histogram plot. plotHistF Creates a histogram plot from a vector of frequencies. plotHistP Calculates and creates a percentage frequency histogram plot. plotLogLog Creates a 2-dimensional line plot with logarithmic scaling of the both the x and y axes. plotLogX Creates a 2-dimensional line plot with logarithmic scaling of the x-axis. plotLogY Creates a 2-dimensional line plot with logarithmic scaling of the y-axis. plotPACF Plots the partial autocorrelations function (PACF). plotPolar Creates a polar plot. plotScatter Creates a 2-dimensional scatter plot. plotSurface Creates a 3-dimensional surface plot. plotTS Creates a graph of time series data. plotTSHF Plots high-frequency and irregularly spaced time series data. plotTSLog Creates a graph of time series data with the y-axis on a log scale. plotXY Creates a 2-dimensional line plot. plotXYFill Creates an area plot between sets of lines.

## Spanning bars and lines¶

 plotAddHBar Adds one or more horizontal bars spanning the full extent of the x-axis to an existing graph. plotAddHLine Adds one or more horizontal lines spanning the full extent of the x-axis to an existing graph plotAddVBar Adds one or more vertical bars spanning the full extent of the y-axis to an existing graph. plotAddVLine Adds one or more vertical lines spanning the full extent of the y-axis to an existing graph

## Color palettes¶

 blendColorPalette Create a new palette that blends between a list of colors. getColorPalette Retrieves a named color palette as a string array. Some names offer multiple palettes based on the number of colors requested. These generally range from a base of 3 to a maximum of 8-12 for color brewer palettes. getHSLPalette Create a set of evenly spaced colors in HSL hue space. getHSLuvPalette Create a set of evenly spaced circular hues in the human-friendly HSLuv color system. listColorPalettes List available color palettes known by GAUSS.

## Subplots and size¶

 plotCanvasSize Controls the size of the canvas on which the next plot is drawn. plotClearLayout Clears any previously set plot layouts. plotCustomLayout Plots a graph of user-specified size at a user-specified location. plotLayout Divides a plot into a grid of subplots and assigns the cell location in which to draw the next created graph.

## Graph windows¶

 plotCloseAll Closes all open graph tabs. plotOpenWindow Opens a new, empty graph whicow to be used by the next drawn graph. plotSetNewWindow Sets whether or not graph should be drawn in the same window or a new window.

## Export and save¶

 plotSave Saves the last created graph to a user specified file type, such as JPG, PNG, PDF, TIFF and more.

## Graph settings¶

 plotGetDefaults Gets the default settings for a specified graph type. plotSetFonts Sets the font family, size and color for all or a subset of the text elements in a graph.

### Title, legend and axis labels¶

 plotSetLegend Adds a legend to a graph. plotSetLegendBkd Sets the opacity and color for the background of a graph legend. plotSetLegendBorder Controls the color and thickness of the legend border. plotSetLegendFont Set the font, font size and font color for the text in the legend. plotSetLegendTitle Sets the text for the legend title. plotSetTextInterpreter Controls the text interpreter (LaTeX, HTML) settings for one or more text labels. plotSetTitle Controls the settings for the title for a graph. plotSetXLabel Controls the settings for the x-axis label on a graph. plotSetYLabel Controls the settings for the y-axis label on a graph. plotSetZLabel Controls the settings for the z-axis label on a graph.

### Axes and grid¶

 plotSetActiveX Determines whether subsequent plotSet calls apply to the top or bottom x-axis. plotSetActiveY Determines whether subsequent plotSet calls apply to the left or right y-axis. plotSetAxesPen Sets the color, width and style for the axes lines. plotSetGridPen Controls the thickness, color, and style for the grid lines. plotSetOutlineEnabled Turns on an outline around the plot. plotSetWhichXAxis Assigns curves to the top or bottom x-axis. plotSetWhichYAxis Assigns curves to the right or left y-axis. plotSetXGridPen Controls the thickness, color, and style for the grid lines from the x-axis. plotSetXPen Controls the thickness, color, and style for the x-axis line. plotSetXRange Sets the range for the x-axis, and optionally the distance between major ticks and the first tick to label. plotSetYGridPen Controls the thickness, color, and style for the grid lines from the y-axis. plotSetYPen Controls the thickness, color, and style for the y-axis line. plotSetYRange Sets the range for the y-axis, and optionally the distance between major ticks and the first tick to label.

### Axes ticks¶

 plotSetTicLabelFont Controls the font name, size and color for the x and y-axis tick labels. plotSetTicPosition Controls if the x and y-axis tick is inside or outside the axis lines. plotSetXMinorTicCount Controls the number of minor ticks to place between major ticks on the x-axis of a 2-D plot. plotSetXTicInterval Controls the interval between x-axis tick labels and also allows the user to specify the first tick to be labeled for 2-D graphs. plotSetXTicLabel Controls the formatting and angle of x-axis tick labels. plotSetXTicPosition Controls if the x-axis tick is inside or outside the x-axis line. plotSetYMinorTicCount Controls the number of minor ticks to place between major ticks on the y-axis of a 2-D plot. plotSetYTicInterval Controls the interval between y-axis tick labels and also allows the user to specify the first tick to be labeled for 2-D graphs. plotSetYticLabel Controls the formatting and angle of y-axis tick labels. plotSetYTicPosition Controls if the y-axis tick is inside or outside the y-axis line.

### Line color, style and fill¶

 plotSetBkdColor Sets background color of a graph. plotSetColorMap Sets the color maps for a surface or contour plot. plotSetFill Sets the fill style, transparency and color for scatter symbols, area plots, histograms and bar graphs. plotSetLinePen Sets line color, thickness and style. plotSetLineSymbol Sets line symbols displayed on the plotted points of a graph. plotSetMissGap Controls whether missing data creates a gap in line plots, or is ignored.

### Box and Bar settings¶

 plotSetJitterRange Adds a small random perturbation (jitter) to plotBox outliers, or plotScatter plots so that overlapping observations can be better seen. plotSetBarWidth Sets the width of the bars in bar plots. plotSetBoxWidth Sets the width of the boxes in box plots.

### Contour settings¶

 plotSetContourLabels Sets the format and precision of contour height labels. plotSetZLevels Controls the heights at which lines are drawn on a contour plot.