cetz-package/cetz-plot
Tentang
Create Plots and Charts with CeTZ
Data dan analisisPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliCeTZ-Plot
CeTZ-Plot is a library that adds plots and charts to CeTZ, a library for drawing with Typst.
CeTZ-Plot requires CeTZ version ≥ 0.5.0!
Examples
|
|
|
| Plot | Pie Chart | Clustered Barchart |
|
|
|
| Pyramid | Process | |
|
||
| Cycle |
Click on the example image to jump to the code.
Usage
For information, see the manual .
To use this package, simply add the following code to your document:
#import "@preview/cetz:0.5.2"
#import "@preview/cetz-plot:0.1.4": plot, chart
#cetz.canvas({
// Your plot/chart code goes here
})
Installing
To install the CeTZ-Plot package under your local typst package dir you can use the install script from the repository.
Just
This project uses just, a handy command runner.
You can run all commands without having just installed, just have a look into the justfile.
To install just on your system, use your systems package manager. On Windows, Cargo (cargo install just), Chocolatey (choco install just) and some other sources can be used. You need to run it from a sh compatible shell on Windows (e.g git-bash).
Testing
This package comes with some unit tests under the tests directory.
To run all tests you can run the just test target. You need to have
tytanic in your PATH: cargo install tytanic --git https://github.com/tingerrr/tytanic.
Jelajahi proyek terkait
Memuat…