MHB TikZ Challenge 3 - Vector Diagram

I like Serena
Science Advisor
Homework Helper
MHB
Messages
16,335
Reaction score
258
Who can make the most impressive, interesting, or pretty TikZ picture?

This third challenge is to create a vector diagram.
Such as used in geometric figures, or in physical diagrams with forces and velocities, or in state diagrams.
For more impressive arrows, we might use the arrows tikz library, or the arrows.meta tikz library (its successor).
If it's not immediately obvious, please mention what makes your picture special.

Please post your submission in this thread.
This thread will be closed after 2 weeks.
After that we will have 2 weeks to vote on what we think is the best TikZ contribution for this challenge.

Only 1 submission of a picture is allowed, and it is not allowed to change the picture after submission.
Any change to the picture itself will disqualify it.
(That leaves some wiggling room for editing the description.)
See http://mathhelpboards.com/tikz-pictures-63/tikz-announcement-22140.html for more information on how to create and post TikZ pictures.
To help create pictures we can use this http://35.164.211.156/tikz/tikzlive.html.
See the TikZ and PGF Manual for more details on the possibilities of TikZ.
 
Mathematics news on Phys.org
\begin{tikzpicture}[scale=3]
\coordinate (v1) at (0,0);
\coordinate (v2) at (1,1);
\coordinate (v3) at (0,2.5);

\draw[->] (v1) -- node
{$\vec{B}$} (v2);
\draw[->] (v2) -- node
{$\vec{H}$} (v3);
\draw[->] (v1) -- node
{$\vec{M}$} (v3);

\end{tikzpicture}

Ok in the spirit of submitting something this is my first time using TikZ. I'm not at all familiar with the syntax so had to use a template from elsewhere. I guess this is my "Hello, world!". Can anyone figure how to sweeten the picture? Maybe thicker lines, colors and better arrows? :)​
 
Hey Jameson, thank you for your contribution!

To answer your questions, we can add [thick] or [ultra thick] between square brackets to make the lines thicker.
And we can add [>=stealth] to get better arrows.
Doing this globally (within the first set of square brackets) we get:
\begin{tikzpicture}[scale=3, ultra thick, >=stealth]
\coordinate (v1) at (0,0);
\coordinate (v2) at (1,1);
\coordinate (v3) at (0,2.5);

\draw[->] (v1) -- node
{$\vec{B}$} (v2);
\draw[->] (v2) -- node
{$\vec{H}$} (v3);
\draw[->] (v1) -- node
{$\vec{M}$} (v3);
\end{tikzpicture}
Since the arrow heads are overlapping, we can shorten the arrows with [shorten >=3pt].
\begin{tikzpicture}[scale=3, ultra thick, >=stealth, shorten >=3pt]
\coordinate (v1) at (0,0);
\coordinate (v2) at (1,1);
\coordinate (v3) at (0,2.5);

\draw[->] (v1) -- node
{$\vec{B}$} (v2);
\draw[->] (v2) -- node
{$\vec{H}$} (v3);
\draw[->] (v1) -- node
{$\vec{M}$} (v3);
\end{tikzpicture}
To get even better arrows, and have more control, we can add '\usetikzlibrary{arrows}' or its successor '\usetikzlibrary{arrows.meta}' and use more dedicated directives.
See chapter 16 in the latest TikZ and PGF manual.
Oh, and for colors, we can add the name of a color in square brackets, such as [blue]. The manual also explains how to get more subtle colors.​
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.

Similar threads

Replies
5
Views
2K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
0
Views
5K
Replies
31
Views
4K
Replies
15
Views
4K
Replies
4
Views
2K
2
Replies
67
Views
14K
Back
Top