Another day, another diagram. This is from a presentation about the Sun which I'll shortly be giving at Berwick Educational Association. The diagram is fairly simple. A series of overlaid wedges. A nice thing about PSTricks is that there's a package for almost everything. In this case the wedges can be colour shaded (using pstslope) to give the impression of a decreasing temperature gradient. The lines in the radiation zone should ideally be randomwalk zigzags to represent the path of a typical photon! I haven't worked out how to do that so for now they're wavy lines (using \ncsin). The convection lines are done using \pccurve and specifying the angles leaving and entering the nodes at the end points. The other useful feature of LaTeX is the \multido command; it's necessary to just specify one command (for say, one convection loop) and let \multido put the shape at regular angle increments at a fixed radius. Here's the code. Solar Structure Diagram
Comments are closed.

Welcome to my blog!Dr Adrian Jannetta. Amateur astronomer, maths teacher and science enthusiast. Archives
June 2018
Categories
All
