Scalable vector graphics

“SVG” to its friends

The SVG format is the Grand Central Station of vector graphics, with junctions to PDF or and the other compatible formats like as Adobe Illustrator, EPS and xfig.

pdf2svg

pdf2svg is handy used in conjunction with (almost) any of the other programs to convert between formats.

Inkscape

Open source Inkscape can do everything, although I find its Adobe Illustrator pretensions (perhaps unfairly) grating. Aimed firstly at general vector graphic design, which means the functions you want for sciency stuff are not front-and-center, but it can be done.

Boxy

A fresh option leveraging web technology is Jarosław Foksa’s Boxy. (web app with pseudo-desktop apps for various platforms.) I think it is free, but closed source?

Minimizing

Victor Zhou shows how you can minimize bloaty SVGs using svgo:

npm install -g svgo
\$ svgo test.svg -o - | gzip -cfq9 > test.svgz

Warning! Experimental comments system! If is does not work for you, let me know via the contact form.