Creating Math/Physics Graphs and Figures

  • Thread starter Dafe
  • Start date
  • Tags
    Drawing
In summary, the conversation discusses different software options for creating graphs and figures in math and physics papers. Mathematica and Asymptote are mentioned as powerful tools for producing high-quality graphics, although they may have a steep learning curve. Other options such as PS-Tricks and Tikz/PGF are also mentioned, but may require some knowledge of coding. The overall consensus is that there is no easy solution for creating beautiful graphics, but mastering these tools can greatly enhance the quality of figures in academic papers.
  • #1
Dafe
145
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
  • #2
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.
 
  • #3
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.
 
  • #4
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).
 
  • #5
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.
 
  • #6
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).
 
  • #7
"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.
 
  • #8
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:
  • #9
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
 

1. How do I choose the appropriate type of graph for my data?

The type of graph you choose depends on the type of data you have and the relationship you want to show. For example, if you have numerical data and want to show changes over time, a line graph would be appropriate. If you want to compare different categories or groups, a bar graph would be more suitable. Consider the purpose of your graph and the data you have before choosing the type of graph.

2. What are the key elements of a graph or figure in math and physics?

The key elements of a graph or figure in math and physics include a title, labels for the x and y axes, a legend (if applicable), and appropriate units for the axes. In addition, the data points or lines should be clearly visible and the graph should be labeled with the source of the data.

3. How can I make my graphs and figures visually appealing?

To make your graphs and figures visually appealing, use appropriate colors and fonts that are easy to read. Avoid clutter by only including necessary elements and keeping the graph simple. Use consistent formatting throughout all graphs and figures in your work. You can also use software programs or online tools to create professional-looking graphs.

4. How do I interpret the data from a graph or figure?

To interpret the data from a graph or figure, start by analyzing the overall trend or pattern. Look for any outliers or unusual data points and try to understand their significance. Pay attention to the scale of the axes as it can affect the interpretation of the data. You can also compare the data to any theoretical predictions or other data sets to gain a better understanding.

5. Can I use the same graph or figure for different types of data?

In general, it is not recommended to use the same graph or figure for different types of data. Different types of data require different types of graphs to accurately represent the relationship between the variables. However, if the data is similar and can be compared, you can consider using the same graph but with different colors or symbols to distinguish between the data sets.

Similar threads

Replies
23
Views
1K
Replies
5
Views
986
Replies
10
Views
1K
Replies
8
Views
1K
Replies
3
Views
1K
Replies
8
Views
1K
Replies
8
Views
486
Replies
4
Views
2K
  • General Math
Replies
6
Views
2K
Back
Top