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

GMT_title_fade.sh 797 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
26
27
  1. #!/usr/bin/env bash
  2. gmt begin GMT_title_fade
  3. cat <<- EOF > B.txt
  4. 0 afg 0
  5. 1 afg t@-i@-
  6. 5 afg t@-o@-
  7. 6 afg t@-b@-
  8. 7 afg f@-i@-
  9. 14 afg f@-o@-
  10. 15 afg t@-e@-
  11. EOF
  12. gmt math -T0/1/25+n 1 PI T MUL COS SUB 2 DIV 100 MUL = curve.txt
  13. gmt math -T1/5/1 100 = >> curve.txt
  14. gmt math -T5/6/25+n 1 PI T 5 SUB MUL COS ADD 2 DIV 100 MUL = >> curve.txt
  15. gmt math -T6/7/25+n 1 PI T 6 SUB MUL COS SUB 2 DIV 100 MUL = >> curve.txt
  16. gmt math -T7/14/1 100 = >> curve.txt
  17. gmt math -T14/15/25+n 1 PI T 14 SUB MUL COS ADD 2 DIV 100 MUL = >> curve.txt
  18. gmt plot -R0/15/0/140 -JX6i/1i -BxcB.txt -Byaf+l"fade-level" -W1.5p -BWS curve.txt
  19. gmt text -F+f10p+jCB <<- EOF
  20. 3 120 TITLE SEQUENCE
  21. 10.5 120 ANIMATION SEQUENCE
  22. EOF
  23. gmt plot -Sv24p+bt+et+s -W1.5p,red -N <<- EOF
  24. 0 110 6 110
  25. 6 110 15 110
  26. EOF
  27. gmt end show
Tip!

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

Comments

Loading...