gmt set COLOR_HSV_MIN_V 0 gmt set FONT_LABEL 10p gmt set FONT_ANNOT_PRIMARY 7p gmt set MAP_FRAME_PEN thin,black gmt begin
# Crear lista de fechas para la animacion: Inicio/Fin/Intervalo. o: meses. y: años gmt math -o0 -T2005-01-01T/2020-12-1T/10y T = times.txt gmt math -o0 -T2005-01-01T/2020-12-1T/1o T = times.txt # gmt math -o0 -T2005-01-01T/2020-12-1T/7d T = times.txt
gmt makecpt -T0/$DepthMax -Cbatlow -I -H > q.cpt
# ----------------------------------------------------------------------------------------------------------- # Eje X (Sn) e Y gmt basemap -R0/$KM/$DepthMin/$DepthMax -JX$W/-$H -Bxaf+l"Distance (km)" -Byaf+l"Depth (km)" -Y$Y -X$X--MAP_FRAME_AXES=wESn
gmt plot -W1p,red <<- END $Long1$Lat1 $Long2$Lat2 END gmt end EOF
# ---------------------------------------------------------------------------------------------------------- # 2. Set up main script cat << EOF > main.sh gmt begin gmt set COLOR_HSV_MIN_V 0 gmt set FONT_LABEL 6p gmt set FONT_ANNOT_PRIMARY 6p