contourable

Crates.iocontourable
lib.rscontourable
version
sourcesrc
created_at2025-02-18 15:27:18.389338+00
updated_at2025-03-23 09:31:27.052178+00
descriptionA library for differentiable functions
homepagehttps://gitlab.com/youbihub/contourable
repositoryhttps://gitlab.com/youbihub/contourable
max_upload_size
id1560037
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(huand)

documentation

https://docs.rs/contourable

README

Contour-able

Contour-able is a Rust library for creating and manipulating contour plots. It provides a simple and efficient way to generate contour lines from a set of data points.

Features

  • Generate contour lines from 2D data points
  • Customize contour levels and colors
  • Efficient and easy to use

Installation

Add this to your Cargo.toml:

[dependencies]
contourable = "0.1.0"

Usage

Here is a simple example of how to use Contourable:

extern crate contourable;

use contourable::Contour;

fn main() {
    let data = vec![
        // ...your data points...
    ];
    let contour = Contour::new(data);
    let lines = contour.generate_lines();
    // ...use the generated contour lines...
}

Regenerating the data set

To regenerate the data set, you can use the generate function from grid.rs. Here is an example:

extern crate contourable;

use contourable::grid::generate;

fn main() {
    let dataset = generate(100, 100);
    // ...use the generated dataset...
}

License

This project is licensed under the MIT License or Apache-2.0.

Contribution

Contributions are welcome! Please open an issue or submit a pull request on GitLab.

Commit count: 0

cargo fmt