
我想使用tikz
套件的繪圖函數在給定的 z 高度繪製二維實驗數據。由於我使用某種投影視圖,我想修復z的位置\draw[option] plot[option] file {Dat.dat}
,其中Dat.dat
是由x、y分量組成的檔案。
基本上我想在 繪製這個圖*z* = -3
,然後使用 \draw 函數在其頂部繪製矩形和球,並使用類似 3D 的視圖。我能夠繪製不同的幾何形狀(球和立方體),但我無法Dat.dat
在我想要的 z 高度上繪製。
有人知道允許它的抽獎選項嗎?
最好的
PS:下面是我畫的淺色版本
\documentclass[11pt]{Tikzfigure}
\begin{document}
\begin{tikzpicture}
[show grid = false,x={(0.866cm,-0.3cm)}, y={(0.866cm,0.5cm)}, z={(0cm,1cm)}, scale=1.0,>=stealth, inner sep=0pt, outer sep=2pt,axis/.style={thick,->},
wave/.style={thick,color=#1,smooth},polaroid/.style={fill=black!60!white, opacity=0.3},]
\draw[color=blue] plot[smooth,mark size=1pt] file {Dat.dat};
\end{tikzpicture}
\end{document}