update to gmt6 and change to cmake

This commit is contained in:
2021-01-10 14:49:37 +08:00
parent ad5ad5cee3
commit f97b2c3ef8
19 changed files with 60 additions and 60 deletions

View File

@@ -8,10 +8,15 @@ For those who wants to know more, please go to [GMT_site](https://www.generic-ma
## 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.
* **griding**: call a GMT module to griding a table data.
* **plot_grid**: read a grid file and call GMT modules to plot the grid to an image file.
* **plot_memory**: 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`.
Compile the executables and then run sequentially.
```shell
mkdir build && cd build && cmake .. && make
```