scientific-figures

Guides design of publication-quality scientific figures with reproducible matplotlib, ggplot2, and TikZ code.

19|1|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/Abhinavbwj/AEC-Scholar --skill scientific-figures-abhinavbwj
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: scientific-figures
Source: https://github.com/Abhinavbwj/AEC-Scholar/tree/main/aec-scholar/skills/scientific-figures
Command: npx skills add https://github.com/Abhinavbwj/AEC-Scholar --skill scientific-figures-abhinavbwj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Researchers often produce figures that mislead readers, fail accessibility checks, or cannot be reproduced, weakening otherwise sound manuscripts. This Skill provides standards for choosing the right chart, encoding data honestly, and generating figures with reproducible code. ## Core Features & Use Cases - Chart Selection & Honest Encoding: Match chart types to data (distributions, comparisons, trends, networks) while enforcing zero-baseline bars, uncertainty bands, and labeled axes with units. - Accessibility & Format Standards: Apply colour-blind-safe palettes (Okabe-Ito, viridis), redundant encoding, and vector (PDF/SVG) or 300-dpi raster output at print scale. - Reproducible Figure Code: Generate matplotlib/seaborn, ggplot2, and plotly scripts plus TikZ, Mermaid, and Graphviz diagrams that regenerate exactly from in-repo data. - Use Case: When drafting a results section for a construction safety study, ask for a violin plot with error bars and colour-blind-safe styling, and receive a ready-to-run matplotlib script exporting a vector PDF. ## Quick Start Ask the assistant to design a publication-quality figure for your results data and generate the reproducible matplotlib or ggplot2 code for it.

Frequently Asked Questions about scientific-figures

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right chart type for my research data?▼

Match the chart to your message: histograms or violin plots for distributions, bar or forest plots for group comparisons, scatter plots for relationships, and line charts with uncertainty bands for time series. Avoid pie charts and 3D effects, and show raw points for small samples.

How to make matplotlib figures colour-blind safe?▼

Use the Okabe-Ito qualitative palette or viridis/cividis sequential maps, since about 8% of men have colour-vision deficiency. Add redundant encoding such as distinct markers, linestyles, or hatching so figures remain readable in greyscale printing.

Should I export figures as PDF or PNG for a journal paper?▼

Use vector formats (PDF, SVG, EPS) for plots, diagrams, and anything with text or lines because they scale without pixelation. Reserve high-DPI raster (300 dpi TIFF/PNG) only for photographs or point-cloud renders.

matplotlib vs ggplot2 for reproducible research figures?▼

matplotlib with seaborn suits Python workflows, using rcParams for consistent fonts and PDF export via savefig. ggplot2 fits R workflows with theme_minimal and ggsave. Both keep figure code and data in-repo so figures regenerate exactly.

Why is truncating the y-axis on bar charts a problem?▼

Truncated axes exaggerate differences between groups and mislead readers, violating honest encoding principles. Bars must start at zero, uncertainty must be shown with stated meaning (SD, SE, or 95% CI), and dual y-axes should be avoided.