วิธีทำ suncross กับ tikz? [ซ้ำ]

Sep 20 2020

คำถามของฉันอยู่ที่ชื่อเรื่อง อยากให้ลูกศรชี้ไปที่ suncross แบบนี้ ? ฉันสามารถสร้างลูกศรด้วยตัวเองได้คุณสามารถช่วยฉันสร้างดวงอาทิตย์ได้หรือไม่?

คำตอบ

1 jsbibra Sep 20 2020 at 20:23

วาดโหนดวงกลมที่มีสัญลักษณ์กากบาทอยู่ข้างในเพื่อให้คล้ายกับตัวคูณของโมดูเลเตอร์สัญญาณ

\documentclass{article}
\usepackage{tikz} 
\usetikzlibrary{calc}

\begin{document}
    \begin{tikzpicture}[cross/.style={path picture={ 
                \draw[black,line width=1pt]
                (path picture bounding box.south east) -- (path picture bounding 
        box.north west) (path picture bounding box.south west) -- (path picture 
          bounding box.north east);
        }}]
        
        \node [draw,circle,cross,minimum width=1 cm,line width=1pt](B) at (3,0){}; 
        \draw[<-,line width=1pt,stealth-] (B.south 
        west)to[out=225,in=75,looseness=1.3]($(B.south)+(-3,-6)$);
        
    \end{tikzpicture}
    
\end{document}