Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[示例] 填充存在”洞“的多边形 #1155

Open
seisman opened this issue Sep 2, 2023 · 1 comment
Open

[示例] 填充存在”洞“的多边形 #1155

seisman opened this issue Sep 2, 2023 · 1 comment

Comments

@seisman
Copy link
Member

seisman commented Sep 2, 2023

示例代码:

gmt plot -R0/10/0/10 -JX10c -Baf -Gred -png map << EOF
>
1 1
1 9
9 9
9 1
> -Ph
3 3
3 5
5 5
5 3
EOF

预览效果:
map

参考文档:https://docs.generic-mapping-tools.org/latest/cookbook/file-formats.html

@seisman
Copy link
Member Author

seisman commented Sep 2, 2023

欢迎感兴趣的读者将该脚本做进一步整理并添加到中文手册中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant