How can I draw this picture using Tikz?
120817
How can I create a cross product like the one in the picture.    \documentclass{article} \usepackage{tikz} \begin{document}  \begin{tikzpicture}[line width=.7pt] \draw [-&gt;] (-.2,0)node[below]{$o$}--(4.5,0)node[below]{$x$}; \draw [-&gt;] (0,-.2)--(0,2)node[left]{$y$};  \end{tikzpicture}  \end{document}
84702
I want to create a simple figure where images are connected with arrows. Here is what I did:  \begin{tikzpicture} \node[](A) {\includegraphics[width=0.2\textwidth]{a}}; \node[right=1mm of A](B) {\includegraphics[width=0.2\textwidth]{b}}; \draw[-&gt;] (A) to (B); \end{tikzpicture}     But I want the arrow to start and end right at the images with no space between. How can I do that?
25756
I want to sketch this figure.. if you guide me to draw one of this arrows with direction i would be grateful..
5853
I have problem to draw graphic with LaTeX (especially TikZ)?  Like this:
114083
\documentclass{article}  \usepackage{tikz} \usepackage{tikz-qtree} \tikzset{edge from parent/.style= {draw, edge from parent path={(\tikzparentnode.east) -- +(8pt,0) |- (\tikzchildnode)}}} \begin{document}  \begin{tikzpicture} \tikzset{grow'=right,level distance=32pt} \tikzset{execute at begin node=\strut} \tikzset{every tree node/.style={anchor=base west}} \Tree [.S [.NP [.Det the ] [.N cat ] ] [.VP [.V sat ] [.PP [.P on ] [.NP [.Det the ] [.N mat ] ] ] ] ] \end{tikzpicture}  \end{document}
67591
I'm trying to draw two arrows between nodes as follows:  A ------&gt; B   &lt;--/---   The arrows should be parallel, in opposite directions but not on top of each other. (I can bend the arrows but that's not what I'm after.)  What's the cleanest way to do this in TikZ? And can I have just one of the arrows "struck out" as in the example?
24303
How can I draw  this is  figure?      \documentclass[12pt]{book}  \usepackage[top=25mm,bottom=25mm,left=25mm,right=25mm]{geometry}  \usepackage[all]{background}  \usepackage{ptext,xcolor} %\usepackage{showframe}  \usepackage{tikz} \usetikzlibrary{calc}   \usepackage{changepage} \strictpagecheck   \usepackage{fancyhdr} \fancyhf{} \fancyhead[LO,RE]{\thepage} \fancyhead[LE]{عنوان کتاب} \fancyhead[RO]{\leftmark} \renewcommand{\headrulewidth}{0pt} \pagestyle{fancy}   \usepackage{xepersian} \settextfont[Scale=1.2]{Yas}  \linespread{1.5}  \newcommand*{\vsp}{2cm} \newcommand*{\hsp}{2.5cm}  \newcommand{\MyTikzLogo}{%  \begin{tikzpicture}[remember picture,overlay] \checkoddpage \ifoddpage     \draw  [color=magenta,line width=1mm] ($(\paperwidth+\hsp,-\vsp)$) --($(\hsp,-\vsp)$); \else     \draw  [color=cyan,line width=1mm] ($(0,-\vsp)$) --($(\paperwidth-\hsp,-\vsp)$); \fi  \end{tikzpicture} }  \SetBgContents{\MyTikzLogo} \SetBgPosition{current page.north west} \SetBgOpacity{1.0} \SetBgAngle{0.0} \SetBgScale{1.0}  \begin{document}  \chapter{titel}  \section{sec }  \ptext[1-40]   \end{document}
62350
I know that my effort below can be improved upon considerably.  In particular, there must be a way of shading the region in a single scope, as opposed to subdividing as I have done (thus necessitating a hidden gray boundary).  Neither am I fond of sample points, but this is where my research has led me.  Your constructive criticism is appreciated.    \documentclass{article} \usepackage{tikz} \begin{document}  \begin{tikzpicture} %graph \draw[draw=gray!50!white,fill=gray!50!white]      plot[smooth,samples=100,domain=0:1] (\x,{0}) --      plot[smooth,samples=100,domain=1:0] (\x,{1}); \draw[fill=gray!50!white] plot[smooth,samples=100,domain=1:2.71828] (\x,{ln(\x)}) --      plot[smooth,samples=100,domain=2.71828:1] (\x,{1}); \draw[domain=0:4] plot (\x,{1}); \draw[samples=100,domain=.25:4] plot (\x,{ln(\x)}) node[above left]{$y=\ln x$}; %coordinate grid \draw (-.5,0)--(4.5,0) node[right]{$x$}; \draw (0,-1.5)--(0,2.5) node[above]{$y$}; \foreach \x in {1,2,3,4}     \draw (\x,2pt)--(\x,-2pt) node[below] {$\x$}; \foreach \y/\ytext in {1,2}     \draw (2pt,\y)--(-2pt,\y) node[left] {$\y$};     %labels  \node at (.75,.5) {$\mathcal{D}$}; \end{tikzpicture}  \end{document}
37703
I'm using tikz to attempt to make a book cover, and I have a "wallpaper" image that looks like leather (not that I've handled that many leather-bound books). I'm using the node command to place text over the top of it, but none of the colors I've experimented with look decent.  Can I use an image of gold-leaf as the fill/stroke for the text? Or for that matter, for the path lines as well?  I've tried googling for this, but I can't figure out a set of keywords non-generic enough to pull back useful results.
90145
Here is my MS Paint job on a real bad attempt at what I'm trying to achieve:    I have access to Photoshop and Illustrator CS6, and I want to be able to draw a thick line (that is not straight) and have a pattern within the line show arrowheads within the line to indicate the direction of the line.
15515
In TikZ, if I have a node (A), how do I create a node (B) with the same x-coordinate as (A), but a given y-coordinate?
1067
I need draw some picture, but I don't know how do that.   First, the simple graph with basic shapes, arrow,....   And then, draw a picture with math symbol or equation in math environment. Like that:   Please help me draw two picture. And if you don't mind, please show me some tools which can help me draw easily and generate to latex code, or some document help me learnt quickly. Thanks for your help
27390
How do I draw a line of length l and at an angle of a from a circular node N in TikZ?
32674
The following time-frequency correspondence illustration is in .    Also a gif animation version (if the animation doesn't show, please open the following image in a new window):    This picture has so much explanatory power, and I would like to replicate it in TikZ for future use.  Here is what I came up with:  \documentclass{minimal} \usepackage{tikz}  \begin{document} \begin{tikzpicture} [x={(1cm,0.5cm)},z={(0cm,0.5cm)},y={(1cm,-0.2cm)}] \draw[-&gt;,thick,blue!90] (0,6.5,0) -- (6.2,6.5,0) node[right] {Frequency}; \draw[-&gt;,thick,red!90] (0,0,0) -- (0,6.5,0) node[below] {Time}; \draw[-&gt;,thick] (0,0,0) -- (0,0,2) node[above] {Magnitude}; \foreach \x in {0.5,1.5,2.5,3.5,4.5,5.5}{   \draw[blue!50] (\x,0,0)   \foreach \y in {0,0.02,...,6.28}{     -- ({\x},{\y},{sin(\x*\y*(157))/sqrt(2*\x)})   };   \draw[blue!90, thick] (\x,6.5,0) -- (\x,6.5,1/\x); }  \end{tikzpicture} \end{document}   This is the output so far.    I have two questions:   How to produce that red superposed sine wave of all the blue sine waves? I don't know if there is a sum function or I have to use loop yet again? How to make the camera projection in TikZ more similar to the perspective in that wikipedia illustration?   Any suggestion and tweaking of the parameters I used in the sample drawing are welcome as well.  Thanks in advance!    Update 1:  Here is a new version using tikz, more readable than the first one. Yet the superposition of the sine waves are done manually...I still don't know how to use foreach to produce a sum.  \begin{tikzpicture}[x={(1cm,0.5cm)},z={(0cm,0.5cm)},y={(1cm,-0.2cm)}] \draw[-&gt;,thick,black!70] (0,6.5,0) -- (6.2,6.5,0) node[right] {Frequency}; \draw[-&gt;,thick,black!70] (0,0,0) -- (0,6.5,0) node[below right] {Time}; \draw[-&gt;,thick] (0,0,0) -- (0,0,2) node[above] {Magnitude}; \foreach \y in {0.5,1.5,...,5.5}{ \draw [cyan!50, domain=0:2*pi,samples=200,smooth]   plot (\y,\x, {sin(4*\y*\x r)/\y }); \draw[blue, ultra thick] (\y,6.5,0) -- (\y,6.5,1/\y); } \draw [red, thick, domain=0:2*pi,samples=200,smooth]  plot (0,\x, {sin(4*0.5*\x r)/0.5 + sin(4*1.5*\x r)/1.5 + sin(4*2.5*\x r)/2.5 + sin(4*3.5*\x r)/3.5 + sin(4*4.5*\x r)/4.5 + sin(4*5.5*\x r)/5.5} ); \end{tikzpicture}   The result is as follows:
61205
I do yet not know everything about coding with tikz but I am learning. I need to draw this system and I would really appreciate it if someone helped me make this.  Now I don't want the structure to be thick I need it to be simple and thin, the exact same structure of lines, arrows, dots and so on like this figure:
80082
I want to draw something similar to this in latex. How can I do it? I want it to be a directed graph and want to be able to label the vertices.
67364
I know how to draw different shapes using tikz, like this:  \documentclass{minimal} \usepackage{tikz} \begin{document}  \begin{tikzpicture} \draw (0,0) ellipse (1 and 1.5)       (0,2.5) circle (1)       (2.5,0) circle (1.5); \end{tikzpicture}  \end{document}     However, I would like to put a number of different shapes together inside a node, and I couldn't yet find a simple way to do that. I will make a little figure to include in a large diagram which is already made of several nodes.  If this is not possible, or not easy, then how do I include a JPG or EPS file in a node?  Thank you!