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

为 text -D 选项增加一个示例 #730

Open
seisman opened this issue Aug 9, 2021 · 1 comment
Open

为 text -D 选项增加一个示例 #730

seisman opened this issue Aug 9, 2021 · 1 comment

Comments

@seisman
Copy link
Member

seisman commented Aug 9, 2021

见 QQ 群里的聊天记录:

请问下大家,GMT版本6.1.1,win10 64位环境,采用gawk "NR==37{print $1,$2,$3,$4,$6}" .\renumtgtext |gmt text -F+f8p,Helvetica-Bold,blue+a+j -Gwhite -Gwhite -DJ0.2i/-0.2i 这条命令时,-DJ后面y方向的偏移量好像没有作用?

-Dj 和 -DJ 的作用是根据文本的对齐方式决定偏移方向,也文本对齐方式由 -F+j 决定,所以如果你的文本对齐方式都是 CM,那就不会偏移。

可以增加一个示例,展示一下在不同的对齐方式下 -Dj0.2c/0.2c 对文本的偏移效果。GMT 官方文档这里讲的也不是很清楚,等加入中文文档之后,可以考虑向 GMT 官方文档提 issue 把相同的示例加进去

@wangliang1989
Copy link
Member

好像j子选项说的是不同的方向,而不是不同的对齐方式

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

No branches or pull requests

2 participants