Creating Math/Physics Graphs and Figures

  • Context: High School 
  • Thread starter Thread starter Dafe
  • Start date Start date
  • Tags Tags
    Drawing
Click For Summary
SUMMARY

The discussion centers on tools for creating graphs and figures for math and physics papers, highlighting Mathematica (version >= 6) and Asymptote as popular choices. Users emphasize Mathematica's powerful capabilities for calculations but note its limitations in 3D vector drawing. Asymptote is recognized for its three-dimensional coordinate system and ease of use once learned. Additionally, TikZ/PGF and Pstricks are recommended for LaTeX users, with a consensus that high-quality graphics require a significant investment in learning the software.

PREREQUISITES
  • Familiarity with Mathematica (version >= 6) for advanced figure creation.
  • Understanding of Asymptote for 3D graphics and coordinate systems.
  • Knowledge of LaTeX for integrating graphics with TikZ/PGF and Pstricks.
  • Basic skills in vector mathematics for effective figure representation.
NEXT STEPS
  • Learn advanced features of Mathematica for creating complex figures.
  • Explore Asymptote tutorials to master 3D graphics creation.
  • Research TikZ/PGF documentation for LaTeX integration and examples.
  • Investigate Pstricks and LaTeXDraw for generating Pstricks code efficiently.
USEFUL FOR

Researchers, graduate students, and academics in mathematics and physics who need to create high-quality figures for publications and theses.

Dafe
Messages
144
Reaction score
0
Hi,

What do you guys use for creating graphs and other figures for use in math/physics papers?
Is there some industry standard being used by science book writers?

Thanks.
 
Mathematics news on Phys.org
I haven't really published papers, but I've co-authored and written some theses... Usually I create my figures in Mathematica (version >= 6) gives extremely powerful capabilities and nice PDF output. Before that I often used Asymptote (asymptote.sourceforge.net, I think) which I'm told looks a bit like MetaPost (linear combination) C(++) and also produces really good figures.

Personally, I always get annoyed by the ugly stick figures that seem to be drawn with the Brush tool in MS Paint and which are found in many articles.
 
CompuChip: Does mathematica have a drawing tool? Say you want to explain how projection matrices work, and would like to draw a plane and some vectores. Is this easily done in Mathematica?
Asymptote looks interesting and quite hard to learn..

Thanks for the reply.
 
No it's not particularly easy, although I think there is provision to edit the graphic using your mouse. This is probably easier done in Asymptote, once you get the hang of it, because it allows you to use a three dimensional coordinate system and automatically projects it on the "canvas".

Mathematica can also do this, although drawing vectors in 3D seems to be somewhat of a pain (there is an Arrow construct for 2D, but not 3D). On the other hand, calculating the necessary quantities (e.g. drawing the line spanned by an eigenvector of a matrix and projecting out a vector along it) is very easy in Mathematica (you can simply use things like EigenVectors[A][[1]] . vector).
 
If you are using Latex, and are able to have self-contained figures, the PS-Tricks collection of packages is quite powerful, and Tikz/PGF is also quite flexible.
 
Note that if you want beautiful pictures and don't want to resort to something like Photoshop or Inkscape, you should count on a somewhat steep learning curve, whichever program you use.
At the very least you will have to get used to some syntax and to entering with coordinates instead of point-and-click (although for some programs there are GUI's, which - AFAI've seen, don't always work properly or more conveniently than hard-core text coding).
 
"Note that if you want beautiful pictures and don't want to resort to something like Photoshop or Inkscape, you should count on a somewhat steep learning curve, whichever program you use."

Photoshop has its own learning curve, and you need to have graphics ready to import to edit. I agree that Tikz and Pstricks have learning curves, but in the context of my message, if someone has mastered latex, either of those two sets of packages should be within reach.

I think the common theme to take away from the replies is that there is no free lunch when it comes to good graphics.
 
http://www.texample.net/tikz/examples/" is extremely powerful and is probably the most useful once you learn it, but has a steep learning curve. You program it directly into your .tex file. Check out the multitude of examples in the link.

There is also http://tclab.kaist.ac.kr/ipe/", which is more like a drawing editor.
 
Last edited by a moderator:
TikZ looks interesting. I really do not mind a steep learning curve :)
Thanks!
 
  • #10
For pstricks users there is also http://latexdraw.sourceforge.net/" , which saved my life a few times. It is producing the Pstricks code on-the-fly as you draw. Then you copy paste the code to your .tex document

It has some limitations about the math fonts but you can modify it with your tex editor later.
 
Last edited by a moderator:
  • #11
That looks sweet trambolin! Thanks
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K