AI Agent Hub
Back to skills
Scientific Figure Guide icon

Scientific Figure Guide

Data Analysis Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_af163eaa/z-diagram-scientific into your AI assistant.

About this skill

Problem

Research figures often fail at two points: choosing between line, scatter, box, violin, or heatmap plots, and making the output match journal rules for fonts, line width, error bars, colorblind-friendly palettes, and panel alignment. This skill targets the early stage of scientific visualization, helping normalize the path from data to code rather than replacing Origin or Illustrator.

Workflow

It first confirms the output mode: finished, template, or half-finished. Finished mode generates runnable code from real data; template mode provides a code skeleton, placeholders, and style parameters; half-finished mode fills in partial data and marks parameters that still need adjustment. Then it selects chart types by data relationship: line plots for trends, scatter plots with regression for continuous variable relationships, bar, box, or violin plots for group comparisons, heatmaps for matrix correlations, and diagrams for mechanisms.

Output and limits

The response typically includes chart diagnosis, data preparation, matplotlib code, style parameters, and post-processing notes. It emphasizes font size, line width, DPI, error bars, axis ranges, and subplot alignment. It is suited for experimental curves, mean comparisons, correlation analysis, and paper panels, but not for publication-grade vector polishing or complex 3D modeling in Blender or Mayavi. For large datasets, it should suggest downsampling, binning, or switching to hexbin.

Use Cases

  • Before journal submission, turn three experimental time-series line plots into `matplotlib` code with error bands, consistent fonts, and line widths.
  • When comparing two distributions, choose box or violin plots and generate finished code with significance markers and colorblind-friendly colors.
  • Arrange four electron microscopy images into a 2×2 panel with aligned axes, scale bars, and fonts, then obtain a reusable template.
  • Without real data, confirm whether a line, scatter, heatmap, or schematic is appropriate, then generate a placeholder code skeleton.

Best For

  • Graduate researchers preparing journal figure legends and Figures who need experimental curves and mean comparisons turned into normalized runnable code.
  • Researchers presenting experimental data who need chart selection by data relationship and consistent fonts, line widths, `DPI`, and axes.
  • Biology, chemistry, or materials analysts who need `matplotlib` skeletons for scatter regression, heatmaps, and paper panels.
  • Writing support staff who need to check error bars, significance markers, subplot alignment, and post-processing notes.