Matplotlib animations the easy way

Creating animations with Python’s Matplotlib is quick and easy once you know how to do it. However, when learning I found the tutorials and examples online either daunting, overly sophisticated, or lacking explanation. In many cases all I need is a quick-and-dirty script that works, rather than longer code that adheres to best practices.

Continue reading “Matplotlib animations the easy way”

To italicise or not to italicise

Italics are used widely in mathematics and science; it’s how variables are typeset. However, it turns out that italics are often used where they shouldn’t be. I’m sure most scientists could happily live their lives without ever learning about the following examples of incorrect uses of italics. But as all scientists should know: minor details matter.

Continue reading “To italicise or not to italicise”

Figures need attention to detail

The little things matter; for example, a typo. In theory, a typo is a minor mistake that makes no difference to the meaning of the writing. In practice, if you’re like me, your opinion of the quality of the rest of the work decreases. Moreover, you may inadvertently seek out further faults.

The same can be said for figures: poor attention to detail will spoil an otherwise perfectly good plot. For this reason, here’s a short list of easily adjustable details that will improve your figures.

Continue reading “Figures need attention to detail”

PowerPoint isn’t a scrapbook

I once attended a scientific talk where someone started off by stating that he had given himself an award, a clip art ribbon, for busiest title slide. Sure he was joking, but I was cringing. Sadly this is just one of far too many examples of slides that I’ve seen that would look more at home in a kid’s scrapbook than a scientific talk.

Continue reading “PowerPoint isn’t a scrapbook”

Four effortless LaTeX packages you should use

By default, LaTeX produces professional-looking documents. Specifying an extra couple of packages, however, can make your document look even better. Here are four packages I recommend that require no effort, by which I mean you simply add the package to your preamble (and maybe specify a few options) and you’re good to go.

Continue reading “Four effortless LaTeX packages you should use”

Design using HSL colour space

When designing any figure with colour, consider the Hue-Saturation-Lightness (HSL) colour space. It is the most intuitive and simplest colour space to work with. For examples of why it is well suited to scientific figures, skip to the bottom. To learn the details, read on.

Continue reading “Design using HSL colour space”

LyX: a middle-ground to LaTeX and Word

LyX is a document processor that provides the power and professional-looking typesetting of LaTeX with the familiarity of an easy-to-use graphical interface à la MS Word. Effectively, it provides the best of both worlds. For someone without knowledge of LaTeX, LyX is less imposing and has a smaller learning curve. But even seasoned LaTeX users who have no desire to leave their favourite text editor can take advantage of some of LyX’s features.

Continue reading “LyX: a middle-ground to LaTeX and Word”