Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PGFPlots code generator

License

NotificationsYou must be signed in to change notification settings

DJDuque/pgfplots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test StatusCrates.io

A Rust library to generate publication-quality figures. This crate is a PGFPlotscode generator, and provides utilities to create, customize, and compilehigh-quality plots.

Usage

Add the following to yourCargo.toml file:

[dependencies]pgfplots ="0.5"

Plotting a quadratic function is as simple as:

use pgfplots::{axis::plot::Plot2D,Engine,Picture};letmut plot =Plot2D::new();plot.coordinates =(-100..100).into_iter().map(|i|(f64::from(i), f64::from(i*i)).into()).collect();Picture::from(plot).show_pdf(Engine::PdfLatex)?;

A more extensive list of examples and their source code is available in theexamples/ directory (runnable withcargo run --all-features --example example_name).

[code][code][code]

Features

  • Tectonic: Allow users to process the LaTeX code that generates figureswithout relying on any externally installed software, configuration, orresource files. This is achieved by including thetectonic crate as a dependency.

About

PGFPlots code generator

Resources

License

Stars

Watchers

Forks

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp