Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

ex12.rst 941 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  1. .. _example_12:
  2. (12) Optimal triangulation of data
  3. ----------------------------------
  4. Our next example operates on a data
  5. set of topographic readings non-uniformly distributed in the plane
  6. (Table 5.11 in Davis: *Statistics and Data Analysis in Geology*, J.
  7. Wiley). We use :doc:`triangulate </triangulate>` to
  8. perform the optimal Delaunay triangulation, then use the output to draw
  9. the resulting network. We label the node numbers as well as the node
  10. values, and call :doc:`contour </contour>` to make a
  11. contour map and image directly from the raw data. Thus, in this example
  12. we do not actually make grid files but still are able to contour and
  13. image the data. We use the CPT ``topo.cpt`` (created via
  14. :doc:`gmtinfo </gmtinfo>` and :doc:`makecpt </makecpt>`). The script becomes:
  15. .. literalinclude:: /_verbatim/ex12.txt
  16. :language: bash
  17. .. figure:: /_images/ex12.*
  18. :width: 500 px
  19. :align: center
  20. Optimal triangulation of data.
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...