是博主脑袋秀逗了,居然没看到这一节,心里不知道在想些什么,ticks的配置文件:
show_ticks = yes
show_tick_labels = yes
<ticks>
offset = 0p
radius = dims(ideogram,radius_outer)
multiplier = 1e-6
thickness = 4p
force_display = no #如果设置yes,不管那个位置有没有ticks都会画出来
<tick>
spacing = 0.5u
offset = 0p
size = 15p
color = red
show_label = yes
label_size = 20p
label_offset = dims(tick,max_tick_length) - 15p
format = %.1f
</tick>
<tick>
spacing = 1u
offset = 0p
size = 20p
color = blue
show_label = yes
label_size = 20p
label_offset = dims(tick,max_tick_length) - 20p
format = %d
</tick>
<tick>
spacing = 5u
offset = 0p
size = 25p
color = green
show_label = yes
label_size = 20p
label_offset = dims(tick,max_tick_length) - 25p
format = %d
</tick>
<tick>
spacing = 10u
offset = 0p
size = 30p
color = black
show_label = yes
label_size = 24p
label_offset = dims(tick,max_tick_length) - 30p
format = %d
</tick>
</ticks>