rem *************************************************************************** rem * Make input file inp_LN_plot.txt * rem *************************************************************************** echo 0.01 -8 > inp_LN_plot_a.txt echo 0.10 -4 >> inp_LN_plot_a.txt echo 1 0 >> inp_LN_plot_a.txt echo 5 8 >> inp_LN_plot_a.txt echo 20 4 >> inp_LN_plot_a.txt echo 100 3 >> inp_LN_plot_a.txt rem *************************************************************************** rem * Make input file inp_LN_plot_b.txt * rem *************************************************************************** echo 0.01 3 > inp_LN_plot_b.txt echo 0.10 4 >> inp_LN_plot_b.txt echo 1 5 >> inp_LN_plot_b.txt echo 7 2 >> inp_LN_plot_b.txt echo 50 -4 >> inp_LN_plot_b.txt echo 100 -8 >> inp_LN_plot_b.txt rem ********************************** set range=0.01/100/-10/10 set scale=5l/3 set scltxt=5/3 set xga=g3a1 set yga=g2a4 set xlabel="Name of x-axis" set ylabel="Name of y-axis" set inp_dat1=inp_LN_plot_a.txt set inp_dat2=inp_LN_plot_b.txt set fig=fig_LN_plot.eps gmtset ANOT_FONT_SIZE 12 gmtset LABEL_FONT_SIZE 8 gmtset TICK_LENGTH 0c psbasemap -R%range% -JX%scale% -B%xga%:%xlabel%:/%yga%:%ylabel%:WSen -USemi_Log_plot plot -P -K > %fig% psxy %inp_dat1% -R -JX -W3 -K -O >> %fig% psxy %inp_dat1% -R -JX -SC0.2 -G0 -N -K -O >> %fig% psxy %inp_dat2% -R -JX -W3t10_10:0 -K -O >> %fig% psxy %inp_dat2% -R -JX -SS0.2 -G255/255/255 -W3 -N -K -O >> %fig% echo 0.02 0.95 8 0 0 TL %inp_dat1% | pstext -R0/1/0/1 -JX%scrtxt% -N -K -O >> %fig% echo 0.02 0.85 8 0 0 TL %inp_dat2% | pstext -R0/1/0/1 -JX%scrtxt% -N -K -O >> %fig% echo 0.99 1.05 10 0 5 BR %fig% | pstext -R0/1/0/1 -JX%scrtxt% -N -O >> %fig% set range= set scale= set xga= set yga= set xlabel= set ylabel= set fig_out= set inp_dat= set inp_dat1= set inp_dat2= del .*