论文标题
图 - jl-用户可扩展的绘制朱莉娅编程语言的API
Plots.jl -- a user extendable plotting API for the julia programming language
论文作者
论文摘要
有很多出色的绘图库。每个用例都在不同的用例中出色:一个适合印刷的2D出版物数字,另一个在Interactive 3D图形上,三分之一具有出色的l a tex集成,或者非常适合在网络上创建仪表板。绘图的目的。jl是使用户能够使用相同的语法与许多不同的绘图库进行交互,以便可以更改库“后端”,而无需触摸创建内容的代码 - 而无需学习另一个应用程序编程界面(API)。这是通过将图规范与实际图形后端的实现分开来实现的。这些绘图规格可以通过“食谱”系统扩展,该系统允许包装作者和用户定义如何绘制任何新类型(无论是统计模型,地图,系统发育树还是针对微分方程系统的解决方案)并创建新类型的绘图 - 而无需依赖于plots.jl package。这支持模块化生态系统结构,用于绘制并在整个朱莉娅包装生态系统中产生高的重用潜力。 plots.jl可在https://github.com/juliaplots/plots.jl上公开获取。
There are plenty of excellent plotting libraries. Each excels at a different use case: one is good for printed 2D publication figures, the other at interactive 3D graphics, a third has excellent L A TEX integration or is good for creating dashboards on the web. The aim of Plots.jl is to enable the user to use the same syntax to interact with many different plotting libraries, such that it is possible to change the library "backend" without needing to touch the code that creates the content -- and without having to learn yet another application programming interface (API). This is achieved by the separation of the plot specification from the implementation of the actual graphical backend. These plot specifications may be extended by a "recipe" system, which allows package authors and users to define how to plot any new type (be it a statistical model, a map, a phylogenetic tree or the solution to a system of differential equations) and create new types of plots -- without depending on the Plots.jl package. This supports a modular ecosystem structure for plotting and yields a high reuse potential across the entire julia package ecosystem. Plots.jl is publicly available at https://github.com/JuliaPlots/Plots.jl.