- #1
bert2002
- 16
- 0
Homework Statement
I have written a program that desribes seismic wave propagation in a medium that has been given a specific velocity profile equation. The velocity at a specific x and z co-ordinate of the ray path is defined by this particular equation, and of course the velocity will vary depending on the position of the ray path .
I am trying to create a 2-D plot of the ray paths of x (horizontal) and z (vertical) position which i can do fine BUT i am having trouble in trying to show the velocity profile gradient as part of the background of the plot. I would like to be able to see exactly how the velocity profile changes with position and how this has affected the ray path.
Homework Equations
Here is an example of an arbitrary velocity profile equation that i have been using
[tex]v=a+bsin(cx)+dcos(ez)[/tex]
Thanks
Last edited: