start #----start up macro, lists macros echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= echo To reload macros, type start at the prompt echo My Macros: echo graphden(x),graphana(x),gmloss(x),gall(x) echo Data sets: echo standard : 2093 2142 echo figure5 : 3293 3342 echo rg : 3493 3542 echo big rg : 3593 3642 echo interesting: 2183 echo Colors: grey dgreen cyan magenta echo yellow green blue dred echo violet slate dblue red echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #echo EXECUTING START MACRO #TO USE THIS MACRO TO START EVERY TIME SM STARTS... #ALIAS SM TO MYSM -M /HOME/.SMSTUFF/START.SM #SM WILL AUTOMATICALLY EXEC THE MACRO START IN START.SM device x11 clear prompt -->> expand 1.00001 local define print_noheader 1 MACRO READ "/home/bin/start.sm" MACRO READ "/home/bin/macros.sm" MACRO READ "/home/bin/halo_paper.sm" add_ctype dred 120 0 0 add_ctype dgreen 0 100 0 add_ctype slate 47 79 79 add_ctype dblue 16 78 139 add_ctype violet 92 36 110 add_ctype grey 85 85 85 #defines locations for a 4-plot window # 1 | 2 #----------------- # 3 | 4 quad1 location 3750 15750 18700 31700 quad2 location 19700 31700 18700 31700 quad3 location 3750 15750 3000 16000 quad4 location 19700 31700 3000 16000 quadx1 location 2850 14750 18700 31700 quadx2 location 18000 29900 18700 31700 quadx3 location 2850 14750 3000 16000 quadx4 location 18000 29900 3000 16000 #defines locations for a 6-plot window # 1 | 2 | 3 #-------------------------- # 4 | 5 | 6 hex1 location 3500 11000 18500 31000 hex2 location 13500 21000 18500 31000 hex3 location 23500 31000 18500 31000 hex4 location 3500 11000 3500 15500 hex5 location 13500 21000 3500 15500 hex6 location 23500 31000 3500 15500 ls !\ls -lF --color rm !rm black ctype black q quit clear erase hpcolor dev postland hpcolor x11 dev x11 l358 dev postland l358 DEL 5 delete $1 delete $2 delete $3 delete $4 delete $5 dela rm -f ~/find_density/.temp_* move 2 #moves cursor to $1 percent of the x direction and $2 in the y relocate $($fx1+($fx2-$fx1)*.01*$1) $($fy1+($fy2-$fy1)*.01*$2) dots 2 define prev_exp $expand expand 1.5 ptype 4 3 points $1 $2 ptype 1 1 expand $prev_exp ylabel2 3 #ylabel2 -10 50 "label of axis" #puts a label at -10% of xaxis and 50% of yaxis relocate $($fx1+($fx2-$fx1)*.01*$1) $($fy1+($fy2-$fy1)*.01*$2) angle 90 putlabel 5 $3 angle 0 xlabel2 3 #xlabel2 50 -10 "label of axis" #puts a label at 50% of xaxis and -10% of yaxis relocate $($fx1+($fx2-$fx1)*.01*$1) $($fy1+($fy2-$fy1)*.01*$2) putlabel 5 $3 home location 3500 31000 3500 31000 findfolder if($num>=2093 && $num<=2178){ define folder 0018.data} if($num>=3293 && $num<=3378){ define folder 0019.data} if($num>=3493 && $num<=3578){ define folder 0020.data} if($num>=3593 && $num<=3678){ define folder 0021.data} if($num>=2180 && $num<=2184){ define folder 0018.data} if($num>=4000){ define folder 0018.data} if($num>=2493 && $num<=2578){ define folder 0022.data}