# Focal mechanism and Tectonic plates modelling

**URL:** <https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289>\
**Category:** Q&A\
**Created:** [March 9, 2020, 5:30am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289 "2020-03-09T05:30:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [March 9, 2020, 5:30am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/1 "2020-03-09T05:30:09Z")

</div>

Hi user  
I am babloo student of MS Seismology. I am new user on GMT community and i want to use it frequently. i want to install GMT for window 10 please help me and tell me step by step procedures and about the path at the end. Plz also tell me what kind of supporting software require to install. or either it is standalone version for generic mapping of topo and geographic and focal mechanism and tectonic plate modelling.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [March 9, 2020, 2:57pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/2 "2020-03-09T14:57:42Z")

</div>

Did you read the GMT docs, namely the installing instructions?

---

<div class="post-metadata">

**Author:** ![leouieda](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/leouieda/32/2134_2.png) [@leouieda](https://forum.generic-mapping-tools.org/u/leouieda)\
**Post date:** [March 9, 2020, 6:34pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/3 "2020-03-09T18:34:01Z")

</div>

Hi babloo, as @Joaquim mentioned, please try to follow the install guide (see the bottom of [https://www.generic-mapping-tools.org/download/](https://www.generic-mapping-tools.org/download/)). If you have trouble let us know so we can fix the instructions.

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [March 11, 2020, 5:39am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/4 "2020-03-11T05:39:05Z")

</div>

Sir Joaquim and Leouieda  
i have install the GMt with all supporting file same time.  
but i dont know what is input file in gmt command window and how enter the data to make a file and plot the foca mechanism on GMT of out study area? help me and send me one program with input file and geivn step by step instruction to plot a focal mechanism on study area.

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [March 16, 2020, 8:22pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/5 "2020-03-16T20:22:59Z")

</div>

sir i cant find the path of GMT. i have installed complete GMT package with directories and library.

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [March 16, 2020, 8:31pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/6 "2020-03-16T20:31:09Z")

</div>

Sir i could find and understand the path how i can give this. there is bugs given below shown when i enter GMT or gmt or psbasemap  
sir this type or error has been occurred during files how i read and what type of files these and what type of error this. how i can remove this to make a map my first map plz reply.

C:\Users\nas\> -JM10c -R80/110/0/35 -Ba10 \> map1a.ps  
‘-JM10c’ is not recognized as an internal or external command,  
operable program or batch file.  
C:\Users\nas\>operable program or batch file.  
‘operable’ is not recognized as an internal or external command,  
operable program or batch file.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [March 16, 2020, 8:43pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/7 "2020-03-16T20:43:17Z")

</div>

@babloo there is no point in asking help if you don’t help yourself. You have been pointed to the documentation. I’m doing it again, read and practice the [tutorial](https://docs.generic-mapping-tools.org/dev/tutorial.html).

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [March 16, 2020, 8:50pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/8 "2020-03-16T20:50:20Z")

</div>

thanks sir,  
this is window based window 10 64 bit now the problem is how use it and how give the path i cant understand to give the path. i have installed GMT 6.0.0.  
that why i contacting you frequently. if i succeed to make one and first map then this is my big achievement for me.  
so please help me to resolve it. thanks for cooperation.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [March 16, 2020, 9:13pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/9 "2020-03-16T21:13:54Z")

</div>

Tell us. Have you looked at the tutorial that I pointed you?

---

<div class="post-metadata">

**Author:** ![leouieda](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/leouieda/32/2134_2.png) [@leouieda](https://forum.generic-mapping-tools.org/u/leouieda)\
**Post date:** [March 17, 2020, 9:59am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/10 "2020-03-17T09:59:47Z")

</div>

@babloo as Joaquim pointed out, compare the code you pasted here with the GMT tutorial [https://docs.generic-mapping-tools.org/dev/tutorial/session-1.html](https://docs.generic-mapping-tools.org/dev/tutorial/session-1.html) Does it look the same? GMT is not a simple GUI that you can learn without reading the tutorial.

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [July 14, 2020, 7:16am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/11 "2020-07-14T07:16:42Z")

</div>

yes sir i have fallow the tutorial but i think here is some problem.  
i dont how and when i will be able to draw my first map on gmt using windows 10.  
i have install gmt 6.0 with . the gmt comand promt window is attached,

 ![Capture](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/a1b508e0481131120049a2608ebc20f8d1292f25.jpeg)  
when i type ps coast. this is running well.  
when i type psbasemp then this is also running but how extract map and what kind of input what are misssing files sir please help me.  
when i type map then it asked input file,  
how and what type of input file.  
if i type map. sir plz share me where was fault.  
Thanks plz reply me soon.

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [July 14, 2020, 7:17am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/12 "2020-07-14T07:17:43Z")

</div>

![Capture2](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/dc369c30856de0d698de29cb2a75b897c40eba6f.jpeg)  
this is second file to want make a geographic map

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [July 14, 2020, 7:28pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/13 "2020-07-14T19:28:09Z")

</div>

Looks like you are typing commands that are may look like GMT commands but are not:

base map: Clearly your system has a program called base and it is complaining.  
ps map: There is no program called ps.

Presumably you are trying to type commands like

gmt psbasemap  
gmt pscoast  
etc.

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [July 15, 2020, 6:55pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/14 "2020-07-15T18:55:01Z")

</div>

thanks for rply sir,  
sir what is missing,  
how called ps and how give input file, .dat or .xls, or any other?  
how called .dat or .xls files in gmt command promt,  
according to the scree shot either gmt is completly installed or not?  
this give mostly dispaly  
not found internal of external memory ? what is this sir?  
sir plz help me to draw my first map in gmt . i shallbe very thankful whole life.  
Thanks  
waiting reply.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [July 15, 2020, 10:10pm UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/15 "2020-07-15T22:10:46Z")

</div>

@babloo It will take you nowhere if you keep ask vague questions like  
`how give input file, .dat or .xls`. That is simply not how it works and you will get no help. You said you studied the tutorial. So you must have experimented this example. Didn’t it work?

```auto
gmt begin GMT_tut_3
	gmt coast -R-90/-70/0/20 -JM6i -B -Gchocolate
gmt end show

```

---

<div class="post-metadata">

**Author:** ![79seismo](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/79seismo/32/507_2.png) [@79seismo](https://forum.generic-mapping-tools.org/u/79seismo)\
**Post date:** [July 17, 2020, 3:13am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/16 "2020-07-17T03:13:27Z")

</div>

What you need is the GMT cookbook with snippets of code showing how to make maps. Please study this carefully and you should be able to solve most of your problems.  
[http://gmt.soest.hawaii.edu/doc/5.4.4/cookbook.html](http://gmt.soest.hawaii.edu/doc/5.4.4/cookbook.html)

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [July 17, 2020, 6:28am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/18 "2020-07-17T06:28:26Z")

</div>

sir you are right. i am always ask vague question and you are teacher available for answer. problem with me not all others who are experts in computer language. here is my initial stage for installing. i gave code and msg displaying tha GSHHG is not available. and now tell me how will install and how give the path file from gmt to GSHHG. please tell me. and one thing sir i have very little knowledge about computer so its my fond to learn the gmt please. help me

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [July 17, 2020, 6:37am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/19 "2020-07-17T06:37:22Z")

</div>

sir you are right. i am always ask vague question and you are teacher available for answer. problem with me not all others who are experts in computer language. here is my initial stage for installing. i gave code and msg displaying tha GSHHG is not available. and now tell me how will install and how give the path file from gmt to GSHHG. please tell me. and one thing sir i have very little knowledge about computer so its my fond to learn the gmt please. help me

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [July 17, 2020, 6:44am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/20 "2020-07-17T06:44:14Z")

</div>

We understand english is not your native language, but perhaps use google translate so you can post sentences others can understand. Since you are on Windows, here is what you should do:

1. Install Git for windows, comes with bash
2. Install GMT 6.1.0 via our windows installer
3. Try the examples in the GMT tutorial. Type them exactly as shown. Dont leave out the leading gmt and dont add random text like a leading ps before a command etc.

---

<div class="post-metadata">

**Author:** ![babloo](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@babloo](https://forum.generic-mapping-tools.org/u/babloo)\
**Post date:** [July 18, 2020, 10:33am UTC](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289/21 "2020-07-18T10:33:54Z")

</div>

Sorry again for disturbing you.  
Sir i have installed GMT 6.1.0 and Git bash. sir where command will be type either in gitbash command or in gmt command window. how we set the path of these two. and further sir please where is your final tutorial on net. i have download many tutorials but i cant seen any example which you were asked to me for enter just. i have write a program it give \<unexpected at this time? error has been displayed. is there any path problem. please tell me and correct this. i am bit confused. solve this error. then i want to draw the first map in GMT. send me example i want as it type and will see results. plz.  
thanks

[Next page](https://forum.generic-mapping-tools.org/t/focal-mechanism-and-tectonic-plates-modelling/289.md?page=2)
