Skip to content

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

License

Notifications You must be signed in to change notification settings

vagmcs/ScalaTIKZ

Repository files navigation

ScalaTIKZ

Maven Central License: GPL v3

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

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 in any Unix/Linux shell script.

Requirements

ScalaTIKZ requires to have a TeXLive distribution installed on your system.

For more details please read the Requirements.

How to get ScalaTIKZ

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

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

libraryDependencies ++= "com.github.vagmcs" %% "scalatikz" % "0.5.1"

In order to install ScalaTIKZ as a CLI tool, run:

curl https://raw.githubusercontent.com/vagmcs/ScalaTIKZ/master/install.sh | sh

Documentation

Contributions

Contributions are welcome, for details see CONTRIBUTING.md.

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.