# 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`:
```toml
[dependencies]
contourable = "0.1.0"
```
## Usage
Here is a simple example of how to use `Contourable`:
```rust
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:
```rust
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.