EPS libraries for Go
- gonum/plot builds line, scatter, bar and other plots and saves them as EPS, PDF, SVG or PNG; the format follows the file extension. Its
vgepspackage is the EPS backend. BSD-3-Clause. - canvas is a general vector graphics library (paths, text with real fonts, images) with an EPS renderer. MIT.
Use gonum/plot for charts and canvas for diagrams, logos and anything else. Neither reads EPS; to render EPS from Go, run Ghostscript with os/exec.
- canvas tdewolff/canvas is a pure Go vector graphics library with an EPS renderer. How to install it, draw shapes and text, crop the drawing and save it as EPS from Go.
- gonum/plot gonum/plot draws charts in Go and saves them as EPS, PDF, SVG or PNG. How to install it, save a line plot as EPS, set the size and title.