Escolar Documentos
Profissional Documentos
Cultura Documentos
Tugas GMT
Tugas GMT
13.11.2491
GEOFISIKA smt V
# !/bin/bash
# mengerjakan peta seismisitas kegempaan diskitar kota Palu dengan data gempa mlai dari 1976
s/d 2014
# ini bikin peta dasarnya #
pscoast -R118/128/-6/4 -JM15c -Ba2g1 -Ggreen3 -S140/235/255 -Dh -N1 -W1 -P -K > seispalu.ps
# memberi kontur
grdimage indo.nc -R -JM -Celev.cpt -K -O -Ba2g1 >> seispalu.ps
# ini memasukkan data gmt berupa seismisitas#
psxy palu.gmt -R -JM -Sc0.4c -Ggreen -W1 -P -O -K >> seispalu.ps
# menampilkan legenda
psscale -Celev.cpt -D11.4/1.7/2.5i/0.4h -B4000:meter: -O -K --FONT_LABEL=10p
--MAP_LABEL_OFFSET=0p >> seispalu.ps
# menamakan kota #
pstext -R -JM -P -O -K <<EOF>> seispalu.ps
119.83 -0.9 14 0 1 LT Palu
EOF
psxy -R -JM -Sa0.5c -Gred -W1 -P -O << EOF >> seispalu.ps
119.83 -0.9
EOF
# !/bin/bash
# mengerjakan peta focalmec kegempaan diskitar kota Palu dengan data gempa mlai dari 1976
s/d 2014
# ini bikin peta dasarnya #
pscoast -R118/128/-6/4 -JM15c -Ba2g1 -Ggreen3 -S140/235/255 -Dh -N1 -W1 -P -K >
focmecpalu.ps
# memberi kontur
grdimage indo.nc -R -JM -Celev.cpt -K -O -Ba2g1 >> focmecpalu.ps
# ini memasukkan data gmt berupa focal mec#
psmeca palu.gmt -R -JM -Sm0.4/-1 -G0/0/255 -T0 -O -K >> focmecpalu.ps
# menampilkan legenda
psscale -Celev.cpt -D11.4/1.7/2.5i/0.4h -B4000:meter: -O -K --FONT_LABEL=10p
--MAP_LABEL_OFFSET=0p >> focmecpalu.ps
# menamakan kota #
pstext -R -JM -P -O -K <<EOF>> focmecpalu.ps
119.83 -0.9 14 0 1 LT Palu
EOF
psxy -R -JM -Sa0.5c -Gred -W1 -P -O << EOF >> focmecpalu.ps
119.83 -0.9
EOF