• Stars
    star
    406
  • Rank 106,421 (Top 3 %)
  • Language
    Rust
  • License
    GNU Lesser Genera...
  • Created over 11 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Rust library for drawing plots, powered by Gnuplot.

RustGnuplot

A Gnuplot controller written in Rust.

Build Status

Documentation

See here

Examples

A simple example:

let mut fg = Figure::new();
fg.axes2d()
	.set_title("A plot", &[])
	.set_legend(Graph(0.5), Graph(0.9), &[], &[])
	.set_x_label("x", &[])
	.set_y_label("y^2", &[])
	.lines(
		&[-3., -2., -1., 0., 1., 2., 3.],
		&[9., 4., 1., 0., 1., 4., 9.],
		&[Caption("Parabola")],
	);
fg.show().unwrap();

Simple example plot

A somewhat involved 2D example (see example1.rs in the examples directory):

Complicated example plot

Features

  • Simple 2D plots
    • lines
    • points
    • points + lines
    • error bars
    • ...and more!
  • Simple 3D plots
    • surface plots
    • heatmaps
    • contours

Building

Via Cargo

cargo build

More Repositories

1

RustCMake

An example project showing usage of CMake with Rust
CMake
109
star
2

RustAllegro

A Rust wrapper and bindings of Allegro 5 game programming library
Rust
96
star
3

Tango-D2

A port of the Tango library to D2
D
90
star
4

RustAlgebloat

A Rust linear algebra library based on expression templates
Rust
51
star
5

DAllegro5

D binding to the Allegro5 game development library
D
42
star
6

WidgetZ

A C GUI library for Allegro 5
C
22
star
7

Kwarg

A Rust keyword argument procedural macro generator
Rust
16
star
8

Celeme

Open Source OpenCL Neural Network Simulator written in D
D
7
star
9

Repercussion

A game created for Ludum Dare 29
Rust
6
star
10

SLRConfig

A simple, useful configuration file format
Rust
6
star
11

xfbuild

Minimal D2 port of the xfbuild utility
D
5
star
12

DGnuplot

A simple gnuplot controller written in D
D
5
star
13

GeanyDag

Convert D JSON files to Geany tags
D
4
star
14

libeval

Repository of libeval, originally created by Jeff Dutky at http://www.dutky.info/jeff/software/libeval/index.html
C
3
star
15

DUtil

Some D utility modules
D
3
star
16

DConfig

A tree structured configuration file format and library to read/write it
D
3
star
17

Optimizer

Command line function optimizer
D
3
star
18

Gift-Giver-2

A small game made for the ChristmassHack 2009 competition written in D
D
3
star
19

FastDraw

A deferred drawing library for Allegro 5
C
3
star
20

Eth

A game created for Speedhack 2014
Rust
3
star
21

Cortex-Terror

A game of space exploration and domination written for the SantaHack 2011 competition.
D
3
star
22

SantasWar

A game written in 8 days for SantaHack 2012
D
1
star
23

Denet

D binding to the enet library
D
1
star
24

OrangeZ

Rust
1
star
25

DubTest

D
1
star
26

Drakenkaput

A game written in 24 hours for TINS 2012
D
1
star
27

Optimizer2

A command line optimization software
Python
1
star
28

SLConfig

A statically typed configuration format
C
1
star
29

BladeBlade

Rust
1
star
30

KrampusGT

Rust
1
star
31

RhymeCraft

A TINS 2016 Game
Rust
1
star
32

Voidwind

Rust
1
star