【问题标题】:How to reproduce such image schematics/graphs?如何重现这样的图像示意图/图表?
【发布时间】:2021-04-07 13:19:31
【问题描述】:

我想重现此显微镜原理图及其下方的图表,但我无法识别它是使用哪个软件制作的。你认为它是在某些图形软件中被编程或绘制成矢量的吗?

我最关心的是离子和电子的轨迹(红线和蓝线)是如何产生的。

有什么建议吗?

谢谢!

【问题讨论】:

  • 有很多方法可以做到这一点。您可以使用 inkscape 和类似程序绘制它,也可以使用 TikZ
  • 轨迹呢?如何在这些程序中编写轨迹?
  • 它们可以使用贝塞尔曲线来完成

标签: python latex gimp


【解决方案1】:

您可以使用贝塞尔曲线来绘制轨迹,例如一个快速而肮脏的草图:

\documentclass{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
\draw[red] (-1.7286,5.6002) .. controls (-1.7286,5.6002) and (2.5610,5.3482) .. (4.6987,4.7064) .. controls (4.9925,4.6182) and (4.9940,4.4655) .. (4.9940,4.4655);
\draw[blue] (4.9940,4.4655) .. controls (4.9940,4.4655) and (4.8360,3.8956) .. (4.7375,3.8981) .. controls (4.6429,3.9005) and (4.6456,4.5949) .. (4.7064,4.5898) .. controls (4.8256,4.5798) and (4.7803,3.9125) .. (5.0328,3.9059) .. controls (5.2924,3.8992) and (5.4064,4.6032) .. (5.7168,4.6054) .. controls (6.0692,4.6079) and (6.3260,3.9225) .. (6.7349,3.9215) .. controls (7.2980,3.9200) and (7.6279,4.5942) .. (8.1493,4.5898) .. controls (8.4153,4.5876) and (8.8194,4.2087) .. (9.1182,4.0402) .. controls (9.4170,3.8718) and (9.5172,3.9137) .. (9.5172,3.9137);
\end{tikzpicture}
\end{document}

【讨论】:

  • 现在我明白了。谢谢!
猜你喜欢
  • 1970-01-01
  • 2020-12-16
  • 1970-01-01
  • 2018-06-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-06-21
相关资源
最近更新 更多