CalculatorsToolsGuides 日本語
BenchFig › Guides › How to make publication-quality graphs: Excel’s pitfalls and free alternatives (R, Python)
Publication figures

How to make publication-quality graphs: Excel’s pitfalls and free alternatives (R, Python)

Excel is handy for spreadsheets and quick charts, but meeting the requirements of a journal figure (show individual data points, match the column width and font size, export as vector) takes a lot of manual work. Here is where it gets difficult, what publication quality means, and free ways to get there.

Updated: BenchFig日本語

Where Excel gets in the way

Excel’s charts are general-purpose, so conventions specific to scientific figures become manual work:

What makes a graph publication quality

Key points
  • Show individual data points (especially for small n); state the error bar type and n in the legend
  • Work at final size: journal column widths (e.g. Nature 89 mm and 183 mm) and text around 5–8 pt
  • Vector format (PDF, EPS, SVG) with editable text; TIFF at 300 dpi or more if it includes images
  • A colorblind-safe palette (such as Okabe–Ito), and distinguish groups by shape or position too
  • No 3D, shadows or gradients; bar graphs start at zero

Size and text

Journals define figure widths such as single column (about 85–89 mm) and double column (about 170–183 mm). If you make a large figure and shrink it, text ends up below the minimum size, so build at the final width and set text size in points. Values for each journal are in Journal figure requirements.

Format and resolution

Graphs consist of lines and text, so vector formats that stay sharp at any zoom are the default. For TIFF or PNG, some journals ask for 600–1000 dpi for line art.

Color

Red–green pairs are hard to distinguish for many readers with color vision deficiency. The eight Okabe–Ito colors (black, orange, sky blue, bluish green, yellow, blue, vermillion, reddish purple) were chosen to remain distinguishable for most types of color vision.

020406080100120VehicleDrug 1 µMDrug 10 µMDrug 100 µMViability (%)********
Bar + individual points drawn at single-column width (89 mm) with 7 pt text (n = 6 per group, mean ± SD), using the colorblind-safe Okabe–Ito palette. SVG produced by BenchFig’s plotting code.
Build this kind of graph with sample dataIn the graph screen, choose the “Colorblind-safe” palette, error bars, individual points, size in cm and text in pt.
Open for free →

Ways to make publication-quality figures: free R and Python, and BenchFig without code

R (ggplot2)

R and ggplot2 are free, and bar + points + error bars take a few lines. ggsave() sets width and height in mm and resolution in dpi (mean_sdl also needs the Hmisc package).

ggplot(d, aes(group, value)) +
  stat_summary(fun = mean, geom = "bar", fill = "grey85") +
  stat_summary(fun.data = mean_sdl, fun.args = list(mult = 1), geom = "errorbar", width = 0.2) +
  geom_jitter(width = 0.1, height = 0) + theme_classic(base_size = 7)
ggsave("fig1.pdf", width = 89, height = 70, units = "mm")

Python (matplotlib)

matplotlib is also free. Size is set in inches (89 mm ≈ 3.5 in); set pdf.fonttype to 42 to keep text editable in the PDF.

import matplotlib.pyplot as plt
plt.rcParams.update({"font.size": 7, "pdf.fonttype": 42})
fig, ax = plt.subplots(figsize=(89/25.4, 70/25.4))
...
fig.savefig("fig1.pdf"); fig.savefig("fig1.tif", dpi=600)

Both are very flexible, but tests, significance brackets and guideline checks are code you write yourself.

BenchFig (no code)

BenchFig is a graphing tool you can try free in the browser. Enter values and it draws bar + individual points with SD, SEM or 95% CI error bars, runs t tests, ANOVA + Tukey and other tests, draws significance brackets, and writes the results sentence. Pick a journal and width, text and lines are matched, with a checklist showing whether the figure meets the guidelines.

The trial lets you try the screens and features with sample data, your own numbers or your own files, and saves a 2x PNG for free. Saving projects and publication export (PDF, TIFF, high-resolution PNG, SVG) are features of the Windows app, BenchFig Pro. In the trial, export shows “Available in the paid app”.

FAQ

Can I not use figures made in Excel?

You can, but overlaying individual points, setting error bars per series, drawing significance brackets and exporting at the required width and resolution are manual, and you repeat them each time the figure changes.

Is a screenshot of an Excel chart acceptable?

Not recommended. A screenshot is at screen resolution (often about 96–144 dpi), well below the 300–600 dpi journals ask for, and text and lines blur when enlarged.

What is a good free way to make publication-quality figures?

If you can code, R with ggplot2 or Python with matplotlib are standard, and both save PDF or TIFF at a set size (mm or inches) and resolution. To try without code, the BenchFig trial lets you go through the workflow with sample data.

Can I export figures from the BenchFig trial?

Partly. The trial saves a 2x PNG of the chart for free (with a small BenchFig mark), and you can try it with sample data, your own numbers or your own files. Saving projects and publication export (PDF, TIFF, high-resolution PNG, SVG, journal presets) are in the paid Windows app (BenchFig Pro).

Make a publication-style graph from sample dataBar + individual points, error bars, significance brackets, size in cm and text in pt, all free in the browser.
Open for free →
Your own data, all the way to the final figure.Loading your files, saving, and journal-ready export (PDF, TIFF, PNG, SVG) are in BenchFig Pro for Windows, updated based on researchers’ requests: ¥3,980/year (2 PCs), with lab and perpetual licenses too.
About the app →

Related guides

Microsoft Excel is a trademark of Microsoft Corporation. Product and journal names are trademarks or registered trademarks of their respective owners.