我有一個postscript文件,其中包含由njplot輸出的系統發育樹。它基本上由行尾的行和標籤組成。現在它是黑色和白色,但我想標記不同的樹木之間的差異:PS簡單的方法來顏色文字
下面是從我的一個文件只有三個標籤的簡短摘錄。
a)我需要做些什麼來使「B. ovis 25840」以紅色顯示?
二)如何讓一個盒子圍繞「豬B. 23445」和「B湯姆森」(比如,以紀念他們在同一個組?)
/setpacking where {true setpacking} if
1 setlinecap 1 setlinejoin 1 setlinewidth 0 setgray
/basefont /Times-Roman findfont 12 scalefont def
/titlefont /Times-Roman findfont 12 scalefont def
/setclip {40 40 moveto 560 40 lineto 560 810 lineto 40 810 lineto closepath clip newpath} def
/title {titlefont setfont
40 815 moveto (brucella_conc_se_ani.out_nj.outtree Mon Aug 14 14:52:28 2017
) show ( Page) show show (of 1) show
} def
%%EndProlog
%%Page: ? 1
(1) title setclip
0 0 translate
basefont setfont
50 50 translate
0.7 setgray -10 -10 moveto 510 -10 lineto 510 760 lineto -10 760 lineto closepath stroke 0 setgray
359 8 moveto
(B. ovis 25840) show
298 67 moveto
(B. Thomsen) show
294 127 moveto
(B. suis 23445) show
showpage
對於B,見https://stackoverflow.com/questions/518837/如何-可以任您得到最高度的度量對的一串式,附言。 – lhf