首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Tikz绘图

使用Tikz绘图
EN

Stack Overflow用户
提问于 2021-11-09 10:35:16
回答 1查看 650关注 0票数 1

我想在我的乳胶论文中包括一些使用tikz代码的形状。这就是我到目前为止所画的。

代码语言:javascript
复制
\begin{document}
\begin{tikzpicture}
\node[isosceles triangle,
    draw,
    rotate=90,
    minimum size =2cm] (T1)at (0,0){};
\end{tikzpicture}
\begin{tikzpicture}
   \node[single arrow, draw=blue, very thick, 
      minimum width = 40pt, single arrow head extend=3pt,
      minimum height=26mm,
      rotate=90] {}; % length of arrow
\end{tikzpicture}
 \end{document}

我需要类似的东西:

而是用CO取代了高层的BH。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-11-18 23:24:10

让你开始吧。我强烈建议看一看Ti_k_Z manual

代码语言:javascript
复制
\documentclass[tikz, border=1mm]{standalone}

\usetikzlibrary{hobby}

\begin{document}

\begin{tikzpicture}[scale=2]

\draw[thick, ->] (0,.5) -- (10,.5) 
    node[pos=.25, yshift=3mm] {$0.01$}
    node[pos=.5, yshift=3mm] {$0.1$}
    node[pos=.75, yshift=3mm] {$1$}
    node[pos=1, anchor=east, yshift=3mm] {$\dot{M}/\dot{M}_{Edd}$};
    
\draw[fill=lightgray] (0,1) -- (1.25,3) -- (2.5,1) -- cycle;
\node[rotate=-90] at (1.25,1.75) {ADAF};

\draw[top color=lightgray, bottom color=black] (4,1) -- (4.1,2) .. controls (4.1,2.15) and (3.6,2) .. (3.75,2.25) -- (4.2,3) -- (4.65,2.25) .. controls (4.8,2) and (4.3,2.15) .. (4.3,2) -- (4.4,1) -- cycle;
\node[rotate=-90] at (4.2,2.45) {ADAF};
\node[rotate=-90, white] at (4.2,1.45) {Standard};

\draw[fill] (5,1) -- (5.2,2.25) -- (5.4,1) -- cycle;
\draw (5.2,2.125) -- ++(.5,.25) node[anchor=west, align=center] {unstable \\ Standard};

\draw[fill] (9,1) -- (9.1,2) .. controls (9.1,2.15) and (8.325,2) .. (8.55,2.25) -- (9.2,3) -- (9.85,2.25) .. controls (10.075,2) and (9.3,2.15) .. (9.3,2) -- (9.4,1) -- cycle;
\node[rotate=-90, white] at (9.2,2.45) {Slim};
\node[rotate=-90, white] at (9.2,1.45) {Standard};

\node[circle, white, fill=black] at (1.25,3.35) {CO};

\node[circle, white, fill=black] at (4.2,3.35) {CO};

\node[circle, white, fill=black] at (5.2,3.35) {CO};

\node[circle, white, fill=black] at (9.2,3.35) {CO};

\end{tikzpicture}

\end{document}

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69896604

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档