Plots.jl – A User Extendable Plotting API for the Julia Programming Language

Research output: Contribution to journalJournal articleResearchpeer-review

Documents

  • Fulltext

    Final published version, 3.65 MB, PDF document

There are many excellent plotting libraries. Each excels at a specific use case: one is particularly suited for creating printable 2D figures for publication, another for generating interactive 3D graphics, while a third may have excellent LaTeX integration or be ideal for creating dashboards on the web. The aim of Plots.jl is to enable the user to use the same syntax to interact with a range of different plotting libraries, making it possible to change the library that does the actual plotting (the backend) without needing to touch the code that creates the content – and without having to learn multiple application programming interfaces (API). This is achieved by separating the specification of the plot from the implementation of the graphical backend. This plot specification is extendable by a recipe system that allows package authors and users to create new types of plots, as well as to specify how to plot any type of object (e.g. a statistical model, a map, a phylogenetic tree or the solution to a system of differential equations) without depending on the Plots.jl package. This design supports a modular ecosystem structure for plotting and yields a high code reuse potential across the entire Julia package ecosystem. Plots.jl is publicly available at https://github.com/JuliaPlots/Plots.jl.

Original languageEnglish
Article number5
JournalJournal of open research soft ware
Volume11
Issue number1
Number of pages18
ISSN2049-9647
DOIs
Publication statusPublished - 2023

Bibliographical note

Publisher Copyright:
© 2023, Neuropsychological Trends. All Rights Reserved.

    Research areas

  • julia, julia-language, plotting, user-extendable, visualization

ID: 347297953