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

Holiday Break

I have been teaching for 37 years now, and I go through many of the same things at the end of the Fall semester each year. There is relief at the completion of a significant task (teaching each of my classes) but there is a good deal of physical and mental weariness and aches. I could sleep for several days straight if not for my sleep disorder. By and large my mind is not very sharp and as an introvert I try to be pleasant with loved ones but am not outgoing at all. With age the feeling of being drained deepens in more and more ways. Of course this is when we have, almost every year, taken a road trip to visit birth families in the Northeast, a full day of driving each way, often involving winter weather far worse than what we are accustomed to in NC. I love my birth family members as well but as with my created family I am weary and not very outgoing. The conversation is rarely about me and my day-to-day life but rather about younger family members and family friends that I do not kn...

Accountability

Mathematics as a discipline teaches accountability. Every claim, whether it be a computation result or a statement (theorem) about how things work is accountable. We teach this accountability developmentally, with lower expectations at the beginning, and sometimes folk who study mathematics casually don't understand this. In my multivariable calculus classes, which I teach most frequently, I usually phrase my expectations as "give me a reason to believe your answer", citing my time working at an investment bank where my recommendations had financial repercussions and my supervisor never took my word for anything. In higher-level mathematics classes such as Abstract Algebra or Analysis I can be more explicit: these are the things we all agree to assume, these are the proof techniques which we understand; can you make an argument that convinces the community who have accepted those axioms and rules of inference that what you claim is true? We work hard to remove the ego fro...

Contents of Most Recent Email to NC Senators

 Sent to Senators Tillis and Budd of NC this morning: My uncle was a police detective in Philadelphia before he retired. He showed his face and his badge to all he talked to on the job; he gave his name and business card to the public he served. This is what law enforcement officials have done in this country as policy until now; what if anything has changed?   The violent thugs serving in ICE are not law enforcement. They do not protect and serve; they attack and refuse to identify themselves. They are a paramilitary force responsible only to President Trump and his minions, who reflexively desecrate the memory of their victims. All dishonor themselves daily, all lack integrity. Immigration is a serious issue. Using brutal thugs to deal with it is like using a chainsaw to remove an appendix. The appendix may need to come out but using a chainsaw is a silly solution that kills people. It is painful to think of all the children incarcerated by ICE. It is unthinkable to all...