valentineap / ComputationalGeoscienceCourse

Materials for an introductory course in Python programming for geoscientists
7 stars 1 forks source link

Exercise 13 ready for review #18

Closed valentineap closed 6 years ago

valentineap commented 6 years ago

Intro to plotting.

https://github.com/valentineap/ComputationalGeoscienceCourse/tree/master/Practicals/Exercise%2013%20-%20Plotting

oscarbranson commented 6 years ago

Might be useful to add a bit more 'advanced' stuff - e.g. the concepts of figures and axe. Working this out was a major turning point my ability to plot things.

Happy to add this, if you think it appropriate?

valentineap commented 6 years ago

Do you think that belongs in this practical? Or do we let them get some practice with the basics and then come back to it? (There needs to be at least one more plotting practical on maps…)

I’m not sure either way — what do people think?

On 21 Sep 2018, at 09:46, Oscar notifications@github.com wrote:

Might be useful to add a bit more 'advanced' stuff - e.g. the concepts of figures and axe. Working this out was a major turning point my ability to plot things.

Happy to add this, if you think it appropriate?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

-- Dr Andrew Valentine Fellow, Seismology & Mathematical Geophysics

Research School of Earth Sciences The Australian National University 142 Mills Road, Acton ACT 2601

+61 (0)2 612 53424 Office: Jaeger 2, 147a

http://rses.anu.edu.au/~andrewv

oscarbranson commented 6 years ago

Aha! OK - if there's going to be a second plotting prac, then I agree. I thought this was the only one.

valentineap commented 6 years ago

Maybe plt.figure() and plt.savefig() should go in here, as being able to produce multiple plots in one script is a basic skill. But more discussion of axes and subplots and stuff I think could wait.

On 21 Sep 2018, at 09:50, Oscar notifications@github.com wrote:

Aha! OK - if there's going to be a second plotting prac, then I agree. I thought this was the only one.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

-- Dr Andrew Valentine Fellow, Seismology & Mathematical Geophysics

Research School of Earth Sciences The Australian National University 142 Mills Road, Acton ACT 2601

+61 (0)2 612 53424 Office: Jaeger 2, 147a

http://rses.anu.edu.au/~andrewv

valentineap commented 6 years ago

Now modified slightly, ready for @rmcgirr94

rebecca-mcgirr commented 6 years ago

@valentineap could you please clarify what sort of plot you want here:

a plot showing the minimum, maximum, mean and median monthly temperatures across the 12 months of a year.

Do you just want a year vs temp line plot of min, max, median and mean for each year?

valentineap commented 6 years ago

Yes, that’s what I had in mind. Feel free to clarify the text if you think it’s necessary.

A

On 23 Sep 2018, at 10:40, rmcgirr94 notifications@github.com wrote:

@valentineap could you please clarify what sort of plot you want here:

a plot showing the minimum, maximum, mean and median monthly temperatures across the 12 months of a year.

Do you just want a year vs temp line plot of min, max, median and mean for each year?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

-- Dr Andrew Valentine Fellow, Seismology & Mathematical Geophysics

Research School of Earth Sciences The Australian National University 142 Mills Road, Acton ACT 2601

+61 (0)2 612 53424 Office: Jaeger 2, 147a

http://rses.anu.edu.au/~andrewv

rebecca-mcgirr commented 6 years ago

No, I think its clear enough, just wanted to double check.

Tested, no changes to make, closing issue.