Skip to content

Intro-Quantitative-Geology/Thermochronology-II

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Thermochronology-II

In part two of the exercises for the final two weeks of the course we will combine the thermochronometer age prediction code used last week with an age dataset from the Bhutan Himalaya to quantify the long-term rates of erosion recorded in the thermochronometer data. These results will be presented in detail in your final report for the course.

Components

  1. Laboratory exercise 7

Plotting predicted ages as horizontal lines

I suggest that you add horizontal lines to your plots of the thermochronometer data to show the predicted ages you calculate. If you have read in the data file with the values for latitude stored in a variable latitude, you can plot a predicted age predicted_age as a horizontal line as follows:

plt.plot([min(latitude), max(latitude)], [predicted_age, predicted_age], 'k-')
plt.show()

This will create a horizontal line from the minimum latitude to the maximum latitude with a vertical value of predicted_age. The "trick" here is to put lists into the plt.plot() command instead of variables. Lists are values separated by commas within square brackets ([ ]), and here we just give 2 values in each list for the x and y points that define the ends of the line.

Resources

About

Materials related to laboratory exercise 6 on thermochronology

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published