> For the complete documentation index, see [llms.txt](https://ezel.rustic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ezel.rustic.dev/plot/grid.md).

# Grid

![](/files/yedaooOGWT6VMd1W85qn)![](/files/ec3LBarXjpsnCin8IUY0)

````
```rust
let mut grid = Grid::new();
grid.push(0, 0, plot1);
grid.push(0, 1, plot2);
grid.push(1, 0..2, plot3);
grid.draw_to_file("grid.png", (800, 600)).unwrap();
```
````
