andresB
- 625
- 374
I would like some advices to reproduce graphics like this. Particularly, I would like that each straight segment has an arrow in the middle.
The discussion focuses on reproducing graphics with arrowheads in the middle of straight segments using TikZ, a powerful LaTeX package for creating graphics. Users are directed to specific resources, including the TikZ documentation on Wikibooks and example graphics from TeXample.net. A method is provided for drawing arrows set back from the endpoints of lines, utilizing the Graphics function in Mathematica. Adjustments to the arrow positioning may be necessary based on the specific application.
PREREQUISITESThis discussion is beneficial for graphic designers, LaTeX users, and anyone involved in creating technical illustrations or visual representations in academic or professional settings.
ar[{p_,q_}]:=Arrow[{p,q},1/4 Norm[q-p]];
Graphics[{
ar[{{0,0},{2,0}}],ar[{{4/3,1},{1,1/8}}],ar[{{1/4,1/8},{1,1/2}}],
Line[{{0,0},{2,0},{2,1},{4/3,1},{1,1/8},{1/4,1/8},{1,1/2},{5/4,9/8},{2,9/8}}]
}]