📄 chl_signals.ps
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /home/loos/DemoGNG-1.3/tex/eps/CHL_Signals.ps%%Creator: XV Version 3.10a Rev: 12/29/94 - by John Bradley%%BoundingBox: 37 290 559 552%%Pages: 1%%DocumentFonts:%%EndComments%%EndProlog%%Page: 1 1% remember original state/origstate save def% build a temporary dictionary20 dict begin% define space for color conversions/grays 715 string def % space for gray scale line/npixls 0 def/rgbindx 0 def% lower left corner37 290 translate% size of image (on paper, in 1/72inch coords)521.92800 262.08000 scale% define 'colorimage' if it isn't defined% ('colortogray' and 'mergeprocs' come from xwd2ps% via xgrab)/colorimage where % do we know about 'colorimage'? { pop } % yes: pop off the 'dict' returned { % no: define one /colortogray { % define an RGB->I function /rgbdata exch store % call input 'rgbdata' rgbdata length 3 idiv /npixls exch store /rgbindx 0 store 0 1 npixls 1 sub { grays exch rgbdata rgbindx get 20 mul % Red rgbdata rgbindx 1 add get 32 mul % Green rgbdata rgbindx 2 add get 12 mul % Blue add add 64 idiv % I = .5G + .31R + .18B put /rgbindx rgbindx 3 add store } for grays 0 npixls getinterval } bind def % Utility procedure for colorimage operator. % This procedure takes two procedures off the % stack and merges them into a single procedure. /mergeprocs { % def dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /colorimage { % def pop pop % remove 'false 3' operands {colortogray} mergeprocs image } bind def } ifelse % end of 'false' case% define the colormap/cmap 21 string def% load up the colormapcurrentfile cmap readhexstring000000 ffffff bebebe 656565 00ff00 cbcbff e7e7e7 pop pop % lose return values from readhexstring% rlecmapimage expects to have 'w h bits matrix' on stack/rlecmapimage { /buffer 1 string def /rgbval 3 string def /block 384 string def % proc to read a block from file, and return RGB data { currentfile buffer readhexstring pop /bcount exch 0 get store bcount 128 ge { % it's a non-run block 0 1 bcount 128 sub { currentfile buffer readhexstring pop pop % look up value in color map /rgbval cmap buffer 0 get 3 mul 3 getinterval store % and put it in position i*3 in block block exch 3 mul rgbval putinterval } for block 0 bcount 127 sub 3 mul getinterval } { % else it's a run block currentfile buffer readhexstring pop pop % look up value in colormap /rgbval cmap buffer 0 get 3 mul 3 getinterval store 0 1 bcount { block exch 3 mul rgbval putinterval } for block 0 bcount 1 add 3 mul getinterval } ifelse } % end of proc false 3 colorimage} bind def715 359 8 % dimensions of data[715 0 0 -359 0 359] % mapping matrixrlecmapimage7f027f027f027f027f024a027f027f027f027f027f024a027f027f027f027f027f024a027f027f027f027f027f024a027f027f0227027f0672067f022f027f027f0227027f0671068103027f022e027f027f02270201067f026e0201037f022f027f027f02270201067f026e0201037f022f027f027f02270201067f026e0201037f022f027f026d028100021e0281000208028100020b0201067f026e0201037f022f027f024102810002020281000208028100021902810002080281000203028100020d0281000208028100020b0201067f026e0201037f022f027f024102010002028100020802810002190281000208020100020201000e0281000208028100020b02010639020100070201002802010006020100060201003e0201002a0201037f022f027f024102010002028100020102020002020300820200020502810002020201000202820002008100028202000201028100020402010002020100040201000402030002020200030281000282020002080201060702030028028100020202010002028100020202010016020100020201000a020100060201000602010017020100240201002a0201037f022f027f024102830002000282020002820200020102810002010281000201028100020102810002010281000201028100028202000281020081000202028100028202000205028700020002000200020202810002820200020102810002010281000282020002010281000201028100028202000208020106060201000102010026020100070201001c020100020201000a02010006020100200201003e020b06060201037f022f027f0241028200020083000200028202000201028100020102810002020281000282020002820200020102810002020283000200020302830002000206028700020002000200020102810002020281000282020002010281000282020002010281000201028100020b020106050201000602030003020100810200810002810200810002020201008102008100020202030001020400010201008102000300010201000102010001020100020203000702010002020100020203000302010081020081000202020100810200810002020201000202030003020100810200810002060201000502030003020300020201008102008100028102008200020081000202020100020201008102008100020202040006020a06810302050201037f022f027f024102810002840200020002810200030002028100020202870002000200020002010281000202028300020002030202000702810002820200028202000201028100020202810002820200020102810002810200030002028100020b020106050201000502010001020100020202008102000100810200810002010202008102008100028102008100028102008100028102008100020202010001020100030201000102010001020100010201000102010006020100020201000102010001020100020202008102008100020102020081020081000201020100010201000102010002020200810200810002050201000402010001020100010201000102010001020100810200810002810200010081020081000201020100020202008102008100028102008100028102008100020502010607020103060201037f022f027f0241028100020102010001028100020502810002020287000200020002000201028100020202830002000203028100028202000205028100028202000282020002010281000202028100028202000201028100028202000205028100020b02010605020100050201000102010002020100010201000102010002020100010201000102010001020100010201000302010001020100030201000102010001020100010201000102010006020600010201000102010002020100010201000202010001020100020201000502010002020100010201000602010004020100010201000502010001020200030201000102010002020100020201000102010001020100010201000602010607020103060201037f022f027f02410281000201020100010281000201028100020102810002030281000201028100020302810002820200028202000203028100028102008100020402810002030281000202028100028202000201028100028102008100028202000201028100020102810002820200020802010605020100050201000102010002020100010201000102010002020100010201000102050001020100030201000102010003020100020201008202000201020500060201000202010001020500020201000102010002020100010201000202010002020400020201000102010006020100040205000202040001020100040201000102010002020100020201000102010001020100010201000602010607020103060201037f022f027f024102810002020281000201020200040201000202810002010281000204020100020281000203028100020102810002040281000203028100020302010004020100820200020102020003028100028202000208020106050201000502010001020100020201000102010001020100020201000102010001020100050201000302010001020100030201000202010082020002010201000a020100020201000102010006020100010201000202010001020100020201000102010001020100020201000102010006020100040201000502010001020100010201000402010001020100020201000202010001020100010201008102000100060201060903060201037f022f027f027f02270201060602010002028200020081000281020081000201020100010201000102010002020100010201000102010002028100028102008100020202010001020100030201000302010003020100020281000205020100020201000102010002028100020102010001020100020201000102010002020100010201000102010002020100010201000602010004020100020281000281020081000281020081000281020081000203020100010201000202010002020100010201000202010081020081000205028106030903060201037f022f027f027f0227020106070203000202030003020100010201000102010002020400030203000302020001020100020202000102010003020100040203000702010002020100020203000302040003020400030201000202020081020081000281020081000281020081000205020500010203000302020081020082000200810002030201000102010002020100020201000102010005020100190201037f022f027f027f0227020106230201007f022802010001020100190201037f022f027f027f0227020106230201007f02290203001a0201037f022f027f027f02270201067f026e0201037f022f027f027f02270201067f026e0201037f022f027f027f02270201067f026e0201037f022f027f027f02270201067f026e0201037f022f027f027f02270201067f0370037f022f027f027f0227028106037f0370037f022f027f027f027f027f027f024a027f027f027f027f027f024a027f027f027f027f027f024a027f027f027f027f027f024a027f027f027f027f027f024a027f017f017f017f017f014a010b01810001030103000301030004010100050101007f017f017f017f017f010301810001060103000c0109010200030181000102018100018201000102018100010101810001820100010201810001820100017f017f017f017f017f010200060181000102018100010a010b01810001070181000105018100018201000102018100018201000102018100017f017f017f017f017601810001010181000103018100010a018100010a010b01810001070181000105018100018201000102018100018201000102018100017f017f017f017f017601810001010181000103018100010a018100010a010b0181000106018100010501810001010181000102018100018201000102018100017f017f017f017f01760181000101018100010301810001070102000c010b0181000105018100010501810001020181000102018100018201000102018100017f017f017f017f017701830001000104018100010a018100010a010b0181000104018100010501810001030181000102018100018201000102018100017f017f017f017f017701830001000104018100010a018100010a010b01810001030181000105018100010501810001820100010201810001820100017f017f017f017f017901810001050181000102018100018201000102018100010a010b01810001020105000101050003010100050101007f017f017f017f017b0181000105018100010201810001010103000c017f017f017f017f015001040074017f017f017f017f014f01810004030481000172017f017f01580104007f017001810004050481000171017f017f01570181000403048100017f016d01810004070481000170017f017f01440104000c0181000405048100017f016c01810004070481000170017f017f0143018100040304810001090181000407048100017f016b01810004070481000170017f017f014201810004050481000108018100040704810001760104005e0104000b01810004070481000170017f017f014101810004070481000107018100040704810001750181000403048100015b018100040304810001090181000407048100014501040025017f017f0141018100040704810001070181000407048100017401810004050481000159018100040504810001090181000405048100014501810004030481000123017f017f0141018100040704810001070181000407048100017301810004070481000157018100040704810001090181000403048100014501810004050481000122017f017f01410181000407048100010801810004050481000174018100040704810001570181000407048100010a0104004601810004070481000121017f017f01410181000407048100010901810004030481000175018100040704810001570181000407048100015601810004070481000121017f017f01420181000405048100010b01040077018100040704810001570181000407048100015601810004070481000121017f017f01430181000403048100017f0109018100040704810001570181000407048100015601810004070481000121017f017f01440104007f010c018100040504810001590181000405048100015701810004070481000121017f017f017f01570181000403048100015b0181000403048100015901810004050481000122017f017f01490104007f01090104005e0104005c0181000403048100012301430104007f017f0181000403048100017f017f014e0104002501
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -