Skip to content

Commit

Permalink
Clean up files generated by examples (#6449)
Browse files Browse the repository at this point in the history
* Clean up files from ex32

* Clean up files from ex38

* Clean up files from ex53
  • Loading branch information
Meghan Jones authored Mar 15, 2022
1 parent 7db15cc commit 25c6d4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/examples/ex32/ex32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ gmt begin ex32
gmt text -JZ -p -F+f12p,Helvetica-Bold,red+jRM -Dj0.1i/0 cities.txt

# cleanup
rm -f cities.txt
rm -f cities.txt topo_32.nc mask_32.nc
gmt end show
2 changes: 1 addition & 1 deletion doc/examples/ex38/ex38.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ gmt begin ex38
gmt colorbar -DJTC+w12c/0.4c+jTC+o0c/6c+h+e+n -Ct.cpt -Bxa500 -By+lm
gmt colorbar -DJBC+w12c/0.4c+h+e+n -Cn.cpt -Bx1 -By+l"z@-n@-"
gmt colorbar -DJBC+w12c/0.4c+h+e+n+o0c/2.5c -Cq.cpt -Bx1 -By+l"z@-q@-"
rm -f out.nc ?.cpt
rm -f out.nc topo_38.nc ?.cpt
gmt end show
3 changes: 2 additions & 1 deletion doc/examples/ex53/ex53.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# GMT modules: makecpt, subplot, set, plot, grdimage, clip, coast
#

gmt begin ex53 png
gmt begin ex53
gmt set PROJ_ELLIPSOID Sphere MAP_ANNOT_OBLIQUE lon_horizontal,lat_parallel,tick_normal FONT_TAG 10p
gmt makecpt -Cterra
data=$(gmt which -G @Top12Cities.txt)
Expand All @@ -21,4 +21,5 @@ gmt begin ex53 png
echo ${lon} ${lat} | gmt plot -Skcity/0.25c -Gred -W0.5p -B0
done < $data
gmt subplot end
rm -f Top12Cities.txt
gmt end show

0 comments on commit 25c6d4e

Please sign in to comment.