Re: [问题] 类似比例尺的图

楼主: qtiv (mou)   2014-05-19 22:32:39
我目前是用这个方法
要如何在t0和t1那一段上面(X0下面)加上ˊˋ符号呢?
\begin{center}
\begin{tikzpicture}
\draw node(0) at (0,0) {};
\draw node(1) at (10,0) {};
\draw node(3) at (2,0.3) {};
\draw node(4) at (2,-0.3) {};
\draw node(5) at (3,0.3) {};
\draw node(6) at (3,-0.3) {};
\draw node(7) at (3.5,0.3) {};
\draw node(8) at (3.5,-0.3) {};
\draw node(9) at (4,0.3) {};
\draw node(10) at (4,-0.3) {};
\draw node(11) at (5,0.3) {};
\draw node(12) at (5,-0.3) {};
\draw node(13) at (6,0.3) {};
\draw node(14) at (6,-0.3) {};
\draw node(19) at (3.5,-0.5){$t_{0}$};
\draw node(20) at (4,-0.5){$t_{1}$};
\draw node(21) at (5,-0.5){$t_{2}$};
\draw node(22) at (6,-0.5){$t_{3}$};
\draw node(23) at (3.8,0.5){$x_{0}$};
\draw node(24) at (4.5,0.5){$x_{1}$};
\draw node(25) at (5.5,0.5){$x_{2}$};
\draw [-] (0) to (1);
\draw [-] (3) to (4);
\draw [-] (5) to (6);
\draw [-] (7) to (8);
\draw [-] (9) to (10);
\draw [-] (11) to (12);
\draw [-] (13) to (14);
\end{tikzpicture}
\end{center}
※ 引述《qtiv (mou)》之铭言:
: 请问这种类似比例尺的图要怎么画?
: 就是一条直线上有刻度,颗度上可以表示每一个距离和刻度的长度
: 我可能表达的不是很好尽量打出我要的样子了...
: 像一般的尺一样有刻度只是上面再ˊˋ标出我要文字
: X0 X1 X2
:
作者: andrew43 (讨厌有好心推文后删文者)   2014-05-20 01:26:00
加上一些 \draw (... , ...) arc[...] 来画弧线

Links booklink

Contact Us: admin [ a t ] ucptt.com