Initial Upload

This commit is contained in:
2020-09-04 10:28:52 +08:00
parent 88664c1aab
commit 758824ca22
17 changed files with 7448 additions and 1 deletions

View File

@@ -1,2 +1,17 @@
# gmt_API_example
examples for using GMT's c_api
Examples for using GMT's C_API
## What's GMT?
The Generic Mapping Tools (GMT) are widely used across the Earth, Ocean, and Planetary sciences and beyond. A diverse community uses GMT to process data, generate publication-quality illustrations, automate workflows, and make animations. Scientific journals, posters at meetings, Wikipedia pages, and many more publications display illustrations made by GMT. And the best part: it is free, open source software licensed under the [LGPL](https://www.gnu.org/licenses/lgpl-3.0.html).
For those who wants to know more, please go to [GMT_site](https://www.generic-mapping-tools.org).
## What are these examples?
* **example1**: call a GMT module to gridding a table data.
* **example2**: read a grid file and call GMT modules to plot the grid to an image file.
* **example3**: create a GMT grid container and call GMT modules to plot the grid to an image file.
## How to run the examples?
Simply go to a example folder and run the `compile.sh`.