What software can I use to make space-time diagrams?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 5K views
phoenix-anna
Messages
11
Reaction score
6
TL;DR
For spacetime diagrams like those is Spacetime Physics, matplotlib and PowerPoint are likely not suitable.
In a few days, I will be hosting a Zoom-based meetup in which I will be explaining the Twin Paradox (time dilatation) and the Pole-in-a-Barn paradox (Lorentz contraction). To this end, I will need to make graphics of space-time diagrams like those in Wheeler's book Spacetime Physics. Can anyone suggest software that will be useful for this purpose? My experience with PowerPoint suggests that it is unsuitable and, since the axes are no longer perpendicular, most plotting software (such as Python's matplotlib) will likely also not be useful.
 
Physics news on Phys.org
I find geogebra very useful for spacetime diagrams. You can program everything in terms of formulae, introduce interactive elements to change parameters, etc. For interactive use it's pretty comfortable. To make pdfs for your manuscripts is a bit cumbersome but also possible.
 
  • Like
Likes   Reactions: robphy and FactChecker
phoenix-anna said:
Summary:: For spacetime diagrams like those is Spacetime Physics, matplotlib and PowerPoint are likely not suitable.

Can anyone suggest software that will be useful for this purpose? My experience with PowerPoint suggests that it is unsuitable
I am not sure why you think that. My first spacetime diagrams were in PowerPoint. I use mostly Mathematica now.

For PowerPoint turn on snap to grid and use v = 0.6 c so that everything is nicely on the grid.
 
Last edited:
  • Like
Likes   Reactions: vanhees71, robphy and Vanadium 50
I'll give a list of some of what I have used.
But, of course, you need to decide what you want to draw,
and how you want to draw it and maybe share it,
and consider how easy it is for you to do it.

 
Last edited:
  • Like
Likes   Reactions: vanhees71
Dale said:
I am not sure why you think that. My first spacetime diagrams were in PowerPoint. I use mostly Mathematica now.

For PowerPoint turn on snap to grid and use v = 0.6 c so that everything is nicely on the grid.
Sure, you can use any software that's capable making plots to make spacetime diagrams. Another way is of course gnuplot. My suggestion of geogebra was mainly based on the purpose to use it in some online-lecture (e.g., via zoom), where geogebra has the advantage that you can prepare it beforehand and interactively easily changing parameters with "sliders" etc.
 
Last edited:
  • Like
Likes   Reactions: robphy
phoenix-anna said:
since the axes are no longer perpendicular, most plotting software (such as Python's matplotlib) will likely also not be useful.

The strategy I used to deal with the Minkowski-perpendicular (but not necessarily Euclidean-perpendicular) axes is to think and compute vectorially.
First, determine the basis-vectors (and related structures, like my clock diamonds),
then express everything else as multiples or sequences of those basis-vectors.

Effecting a boost is achieved by boosting the basis-vectors.
While the diagram may appear deformed in the diagram frame,
the multiples of those basis vectors (i.e, the components in the original frames) won't change.