# Plotting Gridded Data

The code below shows an example of how to extract gridded data from a dataset onto a given projection, plot it, and save it as a PNG image.  The output is as follows:

![](images/gridded.png)

[include](../examples/src/main/java/uk/ac/rdg/resc/edal/examples/GeneratePng.java)  