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

ternary.sh 465 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
  1. #!/usr/bin/env bash
  2. # Test ternary diagram plotting a dataset from Matlab exchange
  3. ps=ternary.ps
  4. gmt makecpt -T0/70 -Cjet > t.cpt
  5. gmt psternary ${src:-.}/ternary.txt -R0/100/0/100/0/100 -JX-6i -P -Xc -Baafg+l"Water component"+u" %" -Bbafg+l"Air component"+u" %" \
  6. -Bcagf+l"Limestone component"+u" %" -B+givory+t"Example data from MATLAB Central" -Sc0.1c -Ct.cpt -K -Y2i -LWater/Air/Limestone > $ps
  7. gmt psscale -R0/100/0/100 -J -O -Ct.cpt -DJCB+o0/0.75i -Baf >> $ps
Tip!

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

Comments

Loading...