7 Advanced Veusz Techniques for Publication-Quality Figures
Producing publication-quality figures requires more than default plots. Veusz is a powerful scientific plotting tool (GUI + scriptable via Python) that gives fine control over layout, styling, and export. Below are seven advanced techniques to elevate your figures for journals and presentations.
1. Create precise, reproducible layouts with templates
- Use a figure container: Place plots, text, and images inside a Figure object to control exact dimensions and aspect ratios.
- Save and reuse templates: After arranging axes, legends, and insets, export the figure as a Veusz template (.vsz) or save a Python script to reproduce the exact layout. This ensures consistency across multiple figures and revisions.
2. Control fonts, sizes, and text rendering
- Set font families and sizes explicitly: Use the Figure and Axis properties to set serif/sans-serif fonts that match your journal’s style.
- Use LaTeX-style math rendering: Enable the math text rendering option for consistent, publication-ready equations and axis labels.
- Adjust DPI and font hinting on export: Export at higher DPI (e.g., 300–600) and test embedded font settings to ensure crisp text in PDFs.
3. Fine-tune axis ticks and scales
- Manual tick placement: Override automatic ticks to align tick marks with meaningful values (e.g., theory reference points).
- Log and symlog scales: Use log or symmetric-log scales where data spans orders of magnitude; adjust minor ticks and grid visibility.
- Axis padding and limits: Set precise x/y ranges and padding so markers or error bars aren’t clipped.
4. High-quality line styles, markers, and colors
- Use vector-friendly line widths and marker sizes: Thicker lines (0.8–1.5 pt) and clear markers improve visibility after scaling.
- Custom dash patterns: Define dash patterns for distinction in black-and-white prints.
- Color palettes for accessibility: Choose colorblind-friendly palettes (e.g., ColorBrewer, Viridis) and check contrast in greyscale.
5. Publish-ready legends and annotations
- Create compact, consistent legends: Place legends inside or outside the plot with transparent backgrounds; arrange entries in columns for multi-series plots.
- Anchor annotations to data coordinates: Use data-linked text and arrows for annotations that remain correct if axes change.
- Inset plots and zoom boxes: Use an inset axis to show detail; draw a connecting rectangle on the main axis to indicate the zoom region.
6. Error bars, fits, and layered data
- Plot uncertainties properly: Use symmetric/asymmetric error bars with cap sizes and semi-transparent fills for uncertainty bands.
- Overlay fits and residuals: Plot best-fit lines with different z-order and line styles; include a separate residual axis below the main plot for clarity.
- Use layered plotting: Stack grids, images, and line plots with controlled z-order to keep important features visible.
7. Exporting for journals: vector formats and reproducibility
- Prefer PDF/SVG for vector output: Export vector formats to preserve crisp lines and text. For raster needs (e.g., complex contours), export at high DPI and embed fonts.
- Embed fonts and check font subsets: Ensure journals accept embedded fonts; test files in multiple viewers (Acrobat, browser) to catch rendering issues.
- Automate exports via Python: Use Veusz’s Python API or CLI to script batch exports at required sizes and formats (e.g., width matching journal column: 85 mm single-column, 175 mm double-column).
Quick checklist before submission
- Consistent fonts and sizes across figures
- Correct aspect ratio and journal column width
- Vector output with embedded fonts when possible
- Colorblind-friendly palette and greyscale legibility
- Clear legends, labels, and visible error bars
- Reproducible template or script for figure regeneration
Applying these techniques will make your Veusz figures both publication-ready and easier to reproduce during revisions.
Leave a Reply