# Tag Info

2

I am not sure I understand: if the x coordinates are symbolic, saying that x=1.875 makes no sense: in symbolic coordinates, only the discrete values have a sense. So you have two possibilities: The first one is to use the rel axis cs: coordinate system inside the graphic. This is a coordinate system that starts from (0,0) at the bottom left and goes to (1,1) ...

4

OK, for what it's worth, I came with another solution, very close to Juan's one, but without any expl3 coding. Here it is: \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{positioning} \newcommand{\blok}{% \def\sft{2pt} % shift from border of cells to coloured rectangles \draw[rounded corners=2pt,opacity=0.8,#1,fill=#1!50,...

5

Another example. More tikz but with a macro for the messages. \documentclass[border=2mm]{standalone} \usepackage {tikz} \usetikzlibrary{calc} \ExplSyntaxOn \NewExpandableDocumentCommand{\makeAlph}{m} % from egreg's answer, https://tex.stackexchange.com/questions/595043/ { % returns an hex digit \int_compare:nTF { 10 <= #1 <= 15 } { \int_to_Alph:n ...

7

Here's how to do it in tikz: \documentclass[tikz, border=20]{standalone} \begin{document} \begin{tikzpicture} % Grid \draw[step=0.5] (0, 0.99) grid (8, 3); \foreach \x in {0, 0.5, ..., 8} { \draw (\x, 1) -- (\x, 0); } % Memory Labels \foreach \a/\x in {0/0, 1/1, 2/2, 3/3, 4/4, 5/5, 6/6, 7/7, 8/...

2

If you want to draw it in TikZ only, without using the axis environment (which I don't use, generally), here's a way to do that. It's what I use for my students. \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} \def\xmin{-9} \def\xmax{8} \def\ymin{-4} \def\ymax{6} \...

2

You just need to protect it. \documentclass{article} \usepackage{tikz} \newcommand{\oldsep} {% \begin{center}\begin{tikzpicture}[thick] \draw[-latex] (-1,0) -- (-0.025,0); \draw[-latex] ( 1,0) -- ( 0.025,0); \draw[fill=white] (0,0) circle (0.075); \end{tikzpicture}\end{center} } \begin{document} \oldsep \tableofcontents \addtocontents{toc}{\...

9

You could do if whit pgfplots as Raven suggests or with tikz (there are more options too) as in my example. I use a \foreach command because the region to plot and the curves are both symmetric, so I avoid repeated code. \documentclass[border=2mm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \def\xmax{4}; % grid \draw[help lines] ...

5

If you compile this: \documentclass[12pt]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=4] \filldraw[fill=cyan,draw=black,domain={-sqrt(3)}:{sqrt(3)},variable=\y,samples=100] (2,-{sqrt(3)})--(2,-2)--plot({sqrt(\y*\y+1)},\y)--(2,2)--(0,0)--(2,-2)--cycle; \filldraw[fill=cyan,draw=black,domain={-sqrt(3)}:{sqrt(3)},...

4

I think that one approach here could be the 3d library from tikz. Specially the options canvas is ... which allows you to draw the desired functions in vertical planes as you show in your sketch. This is a brief example with random functions, because I don't know your Fourier-like functions. \documentclass[border=2mm]{standalone} \usepackage {tikz} \...

2

A slightly less painful method is to use the "Engauge Digitizer" app. The Engauge Digitizer app is intuitive, works great for what I need and is open source. If developers include the export in the format needed to use in Tikz, it would be even easier to use. It is possible to convert arbitrary curves into coordinates and plot in tikz. If what you ...

1

As suplement to @SebGlav answer: \documentclass[border=3.141592]{standalone} \usepackage[edges]{forest} \usetikzlibrary{positioning} \tikzset{ node distance = 4mm and 0mm, N/.style = {draw, thick, rounded corners=3pt, inner sep=10pt} } \begin{document} \begin{forest} for tree={ % nodes styles N, if level={1}{...

1

\documentclass[border=3.14mm]{standalone} \usepackage[edges]{forest} \begin{document} \tikzset{ every node/.style={ draw,black,thick, rounded corners=3pt, minimum height=30pt, inner sep=10pt,}, chief/.style = {fill=cyan}, sub/.style = {fill=pink}, ...

2

One more tikz-cd solution with using mathrlap in placement od top right node: \documentclass{article} \usepackage{mathtools} \usepackage{tikz-cd} \usetikzlibrary{arrows.meta} \begin{document} \[ \begin{tikzcd}[sep=large, every arrow/.append style={-{Straight Barb[scale=0.8]},semithick} ] X \supseteq \phi^{-1}(V) \rar["\varphi&...

1

I'm not really sure you want thicker arrows. Anyway, here it is, with some changes to make the arrows pointing to the correct object. \documentclass{article} \usepackage{amsmath,tikz-cd} \begin{document} \begin{tikzcd}[every arrow/.append style={line width=0.6pt}] \makebox[0pt][r]{$X \supseteq{}$} \phi^{-1}(V) \arrow[r,"\varphi"] \arrow[rd,&...

3

Making diagrams with the psmatrix environment is another possibility: \documentclass{article} \usepackage{amssymb} \usepackage{pst-node} \begin{document} \[ \begin{psmatrix}%[column sep=large] X \supseteq \phi^{-1}(V) & V \subseteq Y \\ & k \psset{arrowinset=0.12,linejoin=1, arrows=->, labelsep=1pt} \ncline{1,1}{1,2}\naput{\varphi} \ncline{1,1}{...

3

First off, you specified column sep=small which reduces the arrow length. With column sep=large, for example, they will be longer. Then you can specify the arrow tip style with a tikzcdset: \documentclass[tikz,border=3.14mm]{standalone} \usepackage{amsmath,amssymb,tikz-cd} \usetikzlibrary{arrows.meta} \tikzcdset{arrow style=tikz,diagrams={line width=2pt,>...

2

There is nothing new to be done in your question. Adding extra nodes in exact the same way as you already do your other nodes: Code fragment on purpose: \node[circle, draw] (b1) at (1,2) {b}; \draw[->] (b1) -- (hidden-1); \draw[->] (b1) -- (hidden-2); \node[circle, draw] (b2) at (3,2) {b}; \draw[->] (b2) -- (output-1); \draw[->] (b2) -- (...

2

A tikz-uml diagram is a regular TikZ picture with a number of predefined UML styles for boxes and arrows. Apart from those styles you can also use standard TikZ drawing commands for situations where the predefined styles are not sufficient. In this case you can draw a path using \path that goes around the JwsVerificationStrategy box. This can be done ...

1

this error shown up : ! Package pdftex.def Error: File `ZVC-N4-1-3.png' not found: Can it be that you have your graphics in a separate directory, say img/? If so, this should resolve it: \includegraphics[width=20pc,height=15pc]{img/ZVC-Galactic-_1.png} (Please notice the new file name.)

1

The situation became much more simple. Actually, after starting the Terminal command as usual, I processed the TEX file (latex *.tex), then converted DVI to PS as usual (dvips *.dvi), and then, used the simple command ps2eps *.ps. And the problem is solved! By the way, I am grateful to all of you for calling my attention to extra programs for designing ...

0

Although there is an accepted answer, you might consider an alternative - draw it in Inkscape: The image can be exported in a way that facilitates embedding in LaTeX You can leverage LaTeX notation to include math in the image and ensure your fonts are nice This hybrid approach enables you to use the strengths of Inkscape and LaTeX, and it will probably ...

Top 50 recent answers are included