gpt4 book ai didi

gnuplot - 在 gnuplot 中使用设置对象圆时,如何分配标签?

转载 作者:行者123 更新时间:2023-12-01 23:54:32 25 4
gpt4 key购买 nike

我正在尝试为我绘制的特定点分配标签

set object circle at first 3,3 radius char 1.5 fill color rgb "red" fillstyle solid no border

我找不到任何方法来实际使用设置的对象绘制一个圆,并为其分配一个标签,而不必被迫创建一个单独的标签并将其手动放置在点旁边。

除了设置对象圆和单独的标签之外,是否有一种简单的方法可以仅绘制带有标签的单个点?谢谢。

最佳答案

对于圆的特殊情况,您可以使用 set label ... point pointtype ... 将可用 pointtype 中的点附加到标签:

set label 'mylabel' at 0,0 left offset char 2,0 point pointtype 7 pointsize 5 lc rgb 'blue'
plot x

enter image description here

关于gnuplot - 在 gnuplot 中使用设置对象圆时,如何分配标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23690551/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com