CIRCOS教程翻译 4.3——Label Margins

标签边际,博主发现软件给的教程和网上的教程感觉越来越不一样了,不知道怎么回事,不过博主还是要测试一些不知道的参数,按照软件的教程运行程序,至于网上的教程给个名字吧:

<<include colors_fonts_patterns.conf>>

<<include ideogram.conf>>
<<include ticks.conf>>

<image>
<<include etc/image.conf>>
</image>

karyotype   = data/karyotype/karyotype.human.txt

chromosomes_units  = 1000000
chromosomes        = hs1;hs2;hs3:0-100;hs4:100-150
chromosomes_scale  = hs1:0.5;hs2:1;hs3:4;hs4:8 #设定染色体的大小比例
chromosomes_display_default = no

<<include etc/housekeeping.conf>>

ticks的配置文件:

show_ticks          = yes
show_tick_labels    = yes

<ticks>
radius               = dims(ideogram,radius_outer)
multiplier           = 1e-6

label_offset = 5p #offset算是明白一些了,就是距离圈圈边际的长度
thickness = 3p
size      = 20p

tick_separation      = 2p
label_separation     = 5p #和上一节的内容一样,都是在显示全部的基础上,如果小于5p的范围就不显示

<tick>
spacing        = 0.5u
color          = red
show_label     = yes
label_size     = 14p
label_offset   = 0p
format         = %.1f
</tick>

<tick>
spacing        = 1u
color          = blue
show_label     = yes
label_size     = 16p
label_offset   = 0p
format         = %d
</tick>

<tick>
spacing        = 5u
color          = green
show_label     = yes
label_size     = 20p
label_offset   = 0p
format         = %d
</tick>

<tick>
spacing        = 10u
color          = black
show_label     = yes
label_size     = 24p
label_offset   = 5p
format         = %d
</tick>

</ticks>

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值