gmt begin beachball png
** gmt meca meca.dat -JM15c -B -R110/120/30/36 -Sa2c**
gmt end show
meca.dat file info
meca.dat (106 Bytes)
while running this above code:
meca [ERROR]: Mismatch between actual (8) and expected (9) fields near line 2 in file meca.dat
psconvert [ERROR]: Unable to decode BoundingBox file /home/surya/.gmt/sessions/gmt6.5931/psconvert_5934c.bb (maybe no non-white features were plotted?)
There is a problem with your dataset. Try to remove the first empty row.
I removed the empty row, but still I’m getting this error
meca [ERROR]: Mismatch between actual (8) and expected (9) fields near line 1 in file meca.dat
psconvert [ERROR]: Unable to decode BoundingBox file /home/surya/.gmt/sessions/gmt6.2364/psconvert_2367c.bb (maybe no non-white features were plotted?)
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?