scientific-paper-figure-generator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Scientific Paper Figure Generator

科研论文图表生成工具

Create publication-ready figures for scientific papers with proper formatting, high resolution, and journal-compliant styling.
创建符合发表要求的科研论文图表,具备规范格式、高分辨率且匹配期刊样式。

Purpose

用途

Scientific figure creation for:
  • Research paper submissions
  • Conference presentations
  • Thesis and dissertation figures
  • Grant proposals
  • Academic posters
科研图表适用于:
  • 研究论文投稿
  • 会议展示
  • 毕业论文图表
  • 基金申请书
  • 学术海报

Features

功能特性

  • Journal Templates: Nature, Science, IEEE, ACS styles
  • Multi-Panel Figures: Subfigures with labels (a, b, c)
  • High Resolution: 300+ DPI for publication
  • Vector Output: EPS, PDF for scalability
  • Statistical Annotations: p-values, error bars, significance
  • Consistent Styling: Match journal requirements
  • 期刊模板:Nature、Science、IEEE、ACS格式
  • 多面板图表:带标签(a、b、c)的子图表
  • 高分辨率:300+ DPI,满足发表要求
  • 矢量输出:EPS、PDF格式,支持无损缩放
  • 统计标注:p值、误差棒、显著性标记
  • 统一格式:匹配期刊规范

Quick Start

快速开始

python
from scientific_paper_figure_generator import PaperFigureGenerator
python
from scientific_paper_figure_generator import PaperFigureGenerator

Create multi-panel figure

Create multi-panel figure

fig_gen = PaperFigureGenerator(style='nature') fig_gen.add_panel(data=df1, plot_type='bar', label='a') fig_gen.add_panel(data=df2, plot_type='line', label='b') fig_gen.annotate_significance(panel='a', x1=0, x2=1, p_value=0.001) fig_gen.save('figure1.pdf', dpi=300)
undefined
fig_gen = PaperFigureGenerator(style='nature') fig_gen.add_panel(data=df1, plot_type='bar', label='a') fig_gen.add_panel(data=df2, plot_type='line', label='b') fig_gen.annotate_significance(panel='a', x1=0, x2=1, p_value=0.001) fig_gen.save('figure1.pdf', dpi=300)
undefined

CLI Usage

命令行界面(CLI)使用方法

bash
undefined
bash
undefined

Create figure from data

Create figure from data

python scientific_paper_figure_generator.py --data results.csv --plot bar --style nature --output figure1.pdf
python scientific_paper_figure_generator.py --data results.csv --plot bar --style nature --output figure1.pdf

Multi-panel figure

Multi-panel figure

python scientific_paper_figure_generator.py --panels panel_a.csv,panel_b.csv --layout 1x2 --output figure2.pdf
undefined
python scientific_paper_figure_generator.py --panels panel_a.csv,panel_b.csv --layout 1x2 --output figure2.pdf
undefined