echo 15 $ 13 $ tl $ 0.3 $ 0.3 > inp_legend.txt echo 10 $ 0.5 $ 2 >> inp_legend.txt echo M3-7 $ --- $ c0.1 $ 255/255/255 $ 1/255/0/0 >> inp_legend.txt echo M7- $ --- $ c0.2 $ 205/0/0 $ --- >> inp_legend.txt gmtset ANOT_FONT_SIZE 10 set fig=fig_gmt_eq_east.eps gawk -f \WANtaroHP_plot\gmt_basic\awk_klegend.awk inp_legend.txt > legend.bat pscoast -R90/150/-15/45 -JM12c -Ba15g15 -G200 -S255/255/255 -N1 -P -K > %fig% gawk "{print $6,$7}" inp_eqdat_plt0.txt | psxy -: -R -J -B -Sc0.1 -G255/255/255 -W1/255/0/0 -P -K -O >> %fig% gawk "{print $6,$7}" inp_eqdat_plt1.txt | psxy -: -R -J -B -Sc0.2 -G205/0/0 -P -K -O >> %fig% pscoast -R -J -W -P -K -O >> %fig% call legend.bat del _* del .*