rem *************************************************************************** rem Make input file inp_ebar2.txt rem x y sx sy (sx,sy: length of error bar) rem *************************************************************************** echo 10 20 5 10> inp_ebar2.txt echo 20 30 5 10 >> inp_ebar2.txt echo 30 50 5 10 >> inp_ebar2.txt echo 40 80 5 10 >> inp_ebar2.txt echo 50 90 5 10 >> inp_ebar2.txt echo 60 70 5 10 >> inp_ebar2.txt echo 70 60 5 10 >> inp_ebar2.txt echo 80 30 5 10 >> inp_ebar2.txt echo 90 15 5 10 >> inp_ebar2.txt set range=0/100/0/100 set scale=5/5 set xga=a20 set yga=a20 set xlabel="Name of x-axis" set ylabel="Name of y-axis" set inp_dat=inp_ebar2.txt set fig=fig_ebar2.eps gmtset ANOT_FONT_SIZE 10 gmtset LABEL_FONT_SIZE 10 gmtset TICK_LENGTH -0.1c psbasemap -R%range% -JX%scale% -B%xga%:%xlabel%:/%yga%:%ylabel%:WSen -P -K > %fig% psxy %inp_dat% -R -JX -W2 -K -O >> %fig% psxy %inp_dat% -R -JX -SC0.2 -G0 -Ex -Ey -N -O >> %fig%