Skip to main content

Learning New Software

I do enjoy learning new software when I can see how it will directly support what I do. Something that appeals to my creative side is constructing graphics in support of mathematics.

I think my first really solid focus on mathematical graphics was Metapost. Since I've been typesetting mathematics in LaTeX for quite a while it made sense to look at Metapost, since it is bundled with most LaTeX distributions.

Metapost supports a number of paradigms. You can specify points directly by giving coordinates for them, or you can focus on the relationships between them, or you can focus on the constraints they must satisfy, or you can start with a collection and apply transformations to build what you seek. The flexibility of Metapost has been appealing to me, and its manual is lucid and concise. There are some very good galleries of examples using Metapost on the internet to help someone like me see what is possible.

Metapost is a programming language however, and as my job became busier I started defaulting to a simpler approach, namely using Mathematica to create graphics by hand. I found myself limiting what I drew to match what was convenient in Mathematica.

Lately, in anticipation of teaching a class in the coming Spring that would be diagram-heavy I started looking at Tikz, a very popular graphics package for LaTeX. I quickly found how to draw the kinds of diagrams I wanted, and even more importantly, I could see how to explain the process to my students and ask them to construct diagrams.

Going into the coming week I realized that I would need to draw some pictures in my Modern Geometry class to explain some formulas in spherical trigonometry and that if I tried to draw these pictures on the spot it would not go well. I have spent the weekend trying to learn some more advanced features in Tikz. I think I have found enough samples on the web similar to what I want to do that it will get done today but Tikz is a Swiss army knife with many blades---the manual is 1100 pages or so and that doesn't include specialty packages to include. If I do end up using Tikz regularly it will be a while before I can start from scratch as opposed to downloading and revising examples from the web.

Comments

Popular posts from this blog

Betrayal

I caught a student cheating on a final exam this morning. I had a line of sight on them and watched for ten minutes as they took their cellphone out of their pocket, kept it below their table, typed into it, read it, put it away, then wrote on the exam, repeating this cycle over and over again.  I was a bit surprised as the exam was open notes but this student had not attended many of our classes, just stopping by for exams, and I conjecture that they had no notes to open. I confronted the student who admitted that they had done wrong in an inarticulate non-confessional way. By the afternoon they had signed off on the honor code violation report to avoid further investigation and possible sanctions beyond failing the exam.  Is anger the right emotion to feel now? I had a working relationship with the student, although they had not contributed much to it. They had deceived me in order to gain unwarranted advantage over their peers in the class and that is not right. I don't wan...

Standing Your Corner

I'm a long-term David Simon fan ever since I read his book "Homicide", detailing a year-long embedding with Baltimore homicide detectives. It was clear-eyed about all of the strengths and weaknesses, good reflexes and prejudices of everyone that he met.  I enjoyed the television show that followed that he wrote for, and then of course "The Wire" on HBO and a number of his other shows---only limited by my access to streaming services.  There was a histrionic moment in a later season of "Homicide" where he just let a character vent; a homicide detective who was part-owner of a bar frequented by cops watched a particularly violent drug criminal, responsible for many unsolved homicides, come into his bar with his associates, violating the detective's territory. The detective came around the bar holding a billy club in his hand and loudly discussed his first year as a patrol officer walking a beat. His supervising officer told him that he had a corner a...

Momentum

In my youth my primary social justice commitment was through Amnesty International. As an affluent white male I enjoyed freedoms that I thought ideally everyone should share; in the 1980's we had had the vine of United States support for repressive regimes that were nominally anti-Communist bearing cruel fruit and I in my small part of the world wanted to do something about that.  It was a more active support Amnesty International sought back then; nowadays they just ask me for money. We members were encouraged to write to foreign government officials to urge them to take care of political prisoners that we named, the idea being that as long as they knew that they were seen the cruelty would diminish. One letter per prisoner, because they were all human beings, not just a faceless group. I have no independent way of verifying if the hundreds of letters I wrote eased any suffering; I know that they changed me. Selfishly I am grateful. At the time I made a point of reading journalism...