I understand that you are following the example from the unavco course.
I try this scrips and it works.
gmt begin beachball png
gmt meca meca.dat -JM10c -R110/120/30/35 -Sa1c -Baf
gmt end show
Is this your full script? What GMT version are you using?