vagmcs / scalatikz

ScalaTIKZ is an open-source library for PGF/TIKZ vector graphics

GitHub

ScalaTIKZ

Maven Central License: LGPL v3

ScalaTIKZ is an open-source library for publication quality PGF/TIKZ vector graphics using the Scala programming language.

License

ScalaTIKZ comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; See the GNU Lesser General Public License v3 for more details.

Features

  1. 2D PGF plots including lines, scatters, bars, stems and many other options.
  2. Chart plots (pie, clouds, squares).
  3. Configure each plot/chart using a large pool of parameters.
  4. Plot any number of data sequences in one figure.
  5. Support for figure arrays and figures having a secondary y-axis.
  6. Support for Automata plots.
  7. High level API for declaring plot types and subplots.
  8. Save generated graphics as TeX, PDF, JPEG or PNG formats.
  9. Command line interface that can be used as a Unix/Linux shell script.

Requirements

ScalaTIKZ requires to have a TeXLive distribution installed on your system. Moreover, in case you want to export your plots as image formats, GhostScript package is also required.

For more details please see Requirements

How to get ScalaTIKZ

ScalaTIKZ is published to Maven Central for Scala 2.11, 2.12 and 2.13.

Add the following dependency to your SBT build file in order to get started:

libraryDependencies ++= "com.github.vagmcs" %% "scalatikz" % "0.4.4",

Documentation

Contributions

Contributions are welcome, for details see CONTRIBUTING.md.