GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - otvam/inkscape_python_figures: Open-Source Workflow for Scientific Paper Figures: Inkscape, Python, Matplotlib, and PyVista

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
fig_plots
fig_plots
 
 
fig_schemas
fig_schemas
 
 
img_data
img_data
 
 
plot_data
plot_data
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
export_inkscape.sh
export_inkscape.sh
 
 
plot_cmap.py
plot_cmap.py
 
 
plot_error.py
plot_error.py
 
 
plot_hist.py
plot_hist.py
 
 
plot_line.py
plot_line.py
 
 
plot_meas_impedance.py
plot_meas_impedance.py
 
 
plot_meas_waveform.py
plot_meas_waveform.py
 
 
plot_mesh.py
plot_mesh.py
 
 
plot_notebook.ipynb
plot_notebook.ipynb
 
 
requirements.txt
requirements.txt
 
 
slides.odp
slides.odp
 
 
slides.pdf
slides.pdf
 
 
utils_mpl.py
utils_mpl.py
 
 
utils_pv.py
utils_pv.py
 
 

Repository files navigation

Workflow for Scientific Paper Figures

Summary

A tutorial for creating publication-quality figures with open-source tools:

  • Focus on electrical engineering / power electronics
  • Compatible with typical IEEE paper format
  • Schematics / diagrams with Inkscape
  • Various plots with Matplotlib
  • Mesh / FEM plots with PyVista
  • Slides of the tutorial

The following open-source tools are used:

  • Inkscape for creating and assembling figures
  • GIMP for handling photos and images
  • LaTeX for typesetting equations
  • Python / Matplotlib for plots
  • Python / PyVista for mesh/FEM plots
  • Paderborn / LEA library for the symbols

Some Examples

Title Schemas Plots

Repository Description

  • Main Files
    • slides.pdf - Slides (PDF) of the tutorial (CC BY 4.0)
    • slides.odp - Slides (ODP) of the tutorial (CC BY 4.0)
    • requirements.txt - List of the used Python packages.
    • export_inkscape.sh - Export PDF/PNG from Inkscape.
    • utils_mpl.py - Utils functions for Matplotlib plots.
    • utils_pv.py - Utils functions for PyVista plots.
  • Python Plots
    • plot_line.py - Logarithmic axis and custom axis ticks.
    • plot_error.py - Plot with error bars and error fill area.
    • plot_hist.py - Histogram plot with transparency.
    • plot_cmap.py - Large scatter plot with a colormap.
    • plot_meas_impedance.py - Plot impedance measurements.
    • plot_meas_waveform.py - Plot oscilloscope waveforms.
    • plot_mesh.py - 3D/2D plots of EM simulations.
    • plot_notebook.ipynb - Plot with Jupyter notebook.
  • Folders
    • fig_schemas - Examples of Inkscape figures (schematics / diagrams).
    • fig_plots - Examples of Inkscape plots (with Python / Matplotlib).
    • plot_data - Data for the example plots.
    • img_data - Images for the readme file.

Compatibility

  • Operating systems
    • Tested on Linux x86/64.
    • Tested on MS Windows x86/64.
    • Tested on Apple MacOS ARM64.
  • Software versions
    • Tested with Python 3.12 / 3.13
    • Tested with Inkscape 1.4.1.
  • Python dependencies
    • Numpy / Matplotlib
    • PyVista / Pillow
    • JupyterLab (optional)
    • List in requirements.txt.

Author

  • Name: Thomas Guillod
  • Affiliation: Dartmouth College
  • Email: [email protected]
  • Website: https://otvam.ch

Copyright

(c) 2023-2025 - Thomas Guillod

BSD 2-Clause "Simplified" License

About

Open-Source Workflow for Scientific Paper Figures: Inkscape, Python, Matplotlib, and PyVista

Resources

Readme
BSD-2-Clause license
Activity

Stars

275 stars

Watchers

7 watching

Forks

45 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.