valentineap / ComputationalGeoscienceCourse

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

Advananced plotting exercise #20

Closed valentineap closed 5 years ago

valentineap commented 5 years ago

Axes, transforms, subplots, and other goodies. Also some nice data from the good people at the Bureau of Meteorology...

https://github.com/valentineap/ComputationalGeoscienceCourse/tree/master/Practicals/Exercise%2015%20-%20More%20plotting

charlesll commented 5 years ago

Reviewed, good, just added two more things:

valentineap commented 5 years ago

Well, I’ve learned something from this course anyway… plt.annotate() looks useful!!!

On 02 Oct 2018, at 11:13, Charles Le Losq notifications@github.com wrote:

Reviewed, good, just added two more things:

• plt.annotate(), in addition of plt.text() • tried to clarify the use of Axes for plotting, because I know that the difference between using ax.plot() or plt.plot() can be confusing for a beginner. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

oscarbranson commented 5 years ago
  • tried to clarify the use of Axes for plotting, because I know that the difference between using ax.plot() or plt.plot() can be confusing for a beginner.

Did you push this, @charlesll ? I ask because I think the current set up uses fig and axis objects implicitly, rather than explicitly... which might be more confusing in the end?

Am making some modifications to be more explicit. Feel free to undo if they go to far!

valentineap commented 5 years ago

He did; I’ve seen it… :-)

I think we start off implicit and then discuss being explicit towards the end. Feel free to modify as you see fit though!

A

On 02 Oct 2018, at 14:07, Oscar notifications@github.com wrote:

• tried to clarify the use of Axes for plotting, because I know that the difference between using ax.plot() or plt.plot() can be confusing for a beginner. Did you push this, @charlesll ? I ask because I think the current set up uses fig and axis objects implicitly, rather than explicitly... which might be more confusing in the end?

Am making some modifications to be more explicit. Feel free to undo if they go to far!

— 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 5 years ago

@oscarbranson has rewritten a lot of the stuff in this exercise and made it much better.

I now realise I am a bit of a plotting dinosaur...

rebecca-mcgirr commented 5 years ago

Looks good, nothing to add or change, closing issue.