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