aStat manual Open aStat

Graph Maker: publication-ready graphs without code

Open your data, and aStat draws a journal-style graph straight away. Change as much or as little as you like, then download a TIFF, PDF or EPS at the exact size and resolution your journal asks for, with the R and Python code that draws it.

Getting started

  1. Open a file (or an example), then choose Graph Maker in the toolbar. After running an analysis you can also press Open in Graph Maker under its chart: the columns, chart type, error bars and comparison method come along.
  2. The first graph is picked from your columns: groups and a measurement give bars with error bars, data points and letters; a time column adds one line per treatment; two measurements give a scatter plot with a fitted line.
  3. Change anything in the Customize panel. The graph redraws about half a second after each change.

Your data: every measurement, or means already calculated

Open a file straight from Graph Maker (Open my data or Open data file), or start from an analysis. Two shapes of sheet work:

aStat recognises a table of means from column names such as Mean, SE/SD and Letters; you can also switch Your data by hand and pick the columns.

Graph types

A second factor puts bars side by side (for example fertilizer by variety) or draws one line per group.

Letters (a, b, c) and stars

For one factor on the x axis, aStat compares the categories with a one-way ANOVA and prints compact letters above each one: means that share a letter do not differ at the 5% level. Choose Tukey, Duncan (DMRT), Fisher's LSD, Bonferroni, Šidák or Scheffé; see comparing means. Or choose Type my own and enter any letters or stars (*, **, ns), for example from a mixed model.

Customizing

Size, resolution and file type

Pick your journal to set the column width and resolution, or type them. Width and height are the final printed size in millimetres, so text prints at the point size you chose.

Raising the dpi of an existing image does not add detail. Graph Maker draws the graph again from your data at the size you ask for, so the file is genuinely sharp.

The R and Python code

R script draws the same graph with ggplot2 and saves it with ggsave() at your size and dpi. Python script draws it with matplotlib (pandas, numpy and scipy) and saves it the same way; letters are written into it as the values aStat computed. Keep the script next to your data file and run it. In desktop R, "sans" uses Arial or Helvetica; in the browser preview it uses Noto Sans, which has the same proportions.

Panel figures: (A), (B), (C)

Journals often want several graphs or photos combined into one figure with panel letters. In Graph Maker, press Add to panel figure for each graph you want (each is drawn sharply at 600 dpi or more), or open the panel figure from the start screen and Add pictures of your own (PNG or JPEG; save TIFF photos as PNG first, since browsers cannot open TIFF).

aStat warns you when a picture would print below 300 dpi at the size you placed it: make it smaller, or export the graph again larger from Graph Maker.