Questions tagged [tikz-pgf]

TikZ is a higher-level drawing language built on top of the PGF graphics framework. For questions specifically about the PGF layer use {pgf-core} instead. Both tags are possible on the same question. The tag {diagrams} is also compatible with this tag.

Filter by
Sorted by
Tagged with
0
votes
1answer
62 views

3D box plot in Tikz LaTex

How can we make these make kinds of 3D plots easily in LaTex? Is there any easy way available so we can draw this in that and in the end we can get tikz code? Any help would be highly appreciated
2
votes
0answers
37 views

Conical and cylindircal spirals

I want to draw something like the following in TikZ, but, unfortunately, I'm not sure how to get to the needed result. The figure shows the path of ions in a quadrupole mass spectrometer. Outside the ...
0
votes
0answers
11 views

How shade the segment of a circle

How can the code below be modified so that the highlighted area in yellow can be shaded? \documentclass[]{article} \usepackage[margin=0.5in]{geometry} \usepackage{pgfplots} \renewcommand{\thesection}{...
0
votes
0answers
14 views

tikzpicture is shown in PDF only after the second PDFLatex call [duplicate]

I am using tikzpicture to have my logo in the top left corner. It works fine, but it is only shown after the second time when I "compile" the tex file. I tried it in the editor and also in ...
2
votes
2answers
222 views

A rectangular shaped carpet with the grass

I have a rectangular shaped carpet. Is it possible to create a specific code to simulate a grass carpet, like in a golf field? \documentclass[tikz,border=5]{standalone} \usepackage[prefix=]{xcolor-...
0
votes
1answer
34 views

3D plot in tikz LaTex

How can we make these make kinds of 3D plots easily in LaTex? Is there any easy way available so we can draw this in that and in the end we can get tikz code? I tried to use tikzEdt but this is ...
3
votes
0answers
147 views
+100

Hack the plot handler to display every x line on a 3D plot

Edit for the bounty I'd like to apply a "graph paper" pattern to 3D graphs. So far I "emulate" the graph paper (like) patterns by superposing the same graph with different styles ...
0
votes
2answers
31 views

Creating a fill pattern for a parabolic plot

For the parabolic plot shown in the MWE below. I need to replace the fill pattern (represented by the blue lines) with arrows pointing downwards towards the black line. \documentclass{article} \...
0
votes
0answers
17 views

TkzDrawAltitude no longer works, with 'Paragraph ended before \tkz@Altitude' error

One of the sections of my book draws out the dot product. The code below has worked fine for years. I'm now on Ubuntu 20.04 with the latest texlive and pgf packages, and the same command below now ...
0
votes
0answers
13 views

footcite with tikz

I have been trying to print the references at the bottom of the slide rather than within the nodes (as it does in this code) using the tikz package. Could someone suggest a nice way of printing the ...
1
vote
0answers
16 views

simplex whith nodes on beamer

hi want to use beamer and make grafics like this I dont know where i can begin
3
votes
1answer
3k views

Exporting TikZ figures to .EPS

i'm trying to export a TikZ picture to .eps using the following on Win7 (MikTeX), compiling with pdflatex: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzset{external/...
0
votes
0answers
27 views

Unexplainable error message with a plot using tikz and pgfplot

I am having a problem with a plot which I am unable to explain, let alone fix. A simple example is this (there is also a curve plotted from data, but I skipped it as it doesn't affect the outcome): \...
1
vote
0answers
14 views

Sci Tick Label Number Format same magnitude

I'm trying to plot an tikzplotlib export with large numbers on the y axis. I'd like to format them as /pgf/number format/sci, which works so far. However, I'd like the numbers to all have the same ...
1
vote
3answers
109 views

How can I create this picture on TikZ?

I'm currently struggling on how to create this picture on TikZ. I cant seem to be able to draw the arrows properly and I cant figure out how to be able to make "columns" to make the private ...
2
votes
1answer
57 views

Flow chart diverging and converging arrows

Question: I am struggling to split the arrows in the flow chart. I have tried looking at similar code but cannot seem to reproduce it. How can I get the ideal output? Relevant Research: Diverging ...
0
votes
0answers
40 views

How to plot geographic coordinates with tikz?

Hello I'm trying to plot geographic coordinates of a route between real locations. I'm struggling to show the graph in full page or zoomed in. I searched a bit on internet and I can't seem to find the ...
3
votes
1answer
58 views

\filldraw is not filling

I have an image in my thesis where I am discussing the similarities of basic colour concepts and a compass. The original image is something I shabbily shoved together in Paint, but I thought I could ...
-1
votes
1answer
84 views

filling the area under a plotted function in tikz

For the shown MWE: I need to fill the area under the function plotted in tikz using the "Plot Command". However, using the "Fill" option in the "Draw command" does not ...
1
vote
0answers
18 views

tikz overlay inside beamer onslide still occupies spaces?

\documentclass[serif]{beamer} \usepackage{tikz} \usepackage{amsmath} \begin{document} \begin{frame}{Adam Optimizer} Initialize ... Parameter $\beta_1$ is usually 0.9. Calculate momentum $$ a=b $...
1
vote
2answers
108 views

Printing binary plus/negation operators in front of untested signed variables

Suppose I have two macros \numa and \numb into which I imported values out of some external calculations. I would like to use them in equations such that the binary plus/negation operators should ...
0
votes
1answer
334 views

dashed lines in intersections and graph

I was trying to repeat this graph, but only a part of it. And my goal is to make the TP curve more downward at the end. In addition, I find difficult to make the dashed lines there. Is there a way to ...
0
votes
2answers
50 views

How to rotate a node using atan2 function

In this tikzpicture \documentclass[margin=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \usetikzlibrary{calc} \usetikzlibrary{shapes.arrows} \usetikzlibrary{shapes.geometric} \...
1
vote
2answers
28 views

Label PGFPlot table points with coordinates

I would like to label each plotted point with its x and y coordinate. I am able to label with a single one using the MWE below. I must avoid manually labeling each point since my actual table size is ...
-1
votes
0answers
29 views

I want to make a rectangle with one end chamfered for a drawing [closed]

so my drawing looks like this and I need to make a rectangle with one end chamfered or cut. I have uploaded a photo for reference. I want to write few things in the drawing. any help would be highly ...
0
votes
1answer
61 views

changing reference line of `\closedcycle`“ and ”`fill`" option in pgfplots

I have used Matlab2tikz package to obtain tikz files of some plots drawn by Matlab. They have a problem in showing colored confidence intervals using "fill" option. My conjecture is that the ...
2
votes
2answers
422 views

Tikz node with data storage flowchart symbol

I am trying to create a Tikz node with some text that has the ‘data storage’ flowchart shape: This is what I'm building on: \usepackage{tikz} \usetikzlibrary{shapes.geometric} \tikzstyle{storage} = [...
21
votes
4answers
33k views

TikZ node placement and arrow drawing

I just started using TikZ and try to get a process control drawn by TikZ. It looks wonderful, but I am a real beginner. I use the simple flow chart as base and came to this result: I use shapes (blue ...
0
votes
1answer
46 views

Parabola with offset in tikz

The parabola seems to be plotted wrong, the vertex is located in (2,1), but tikz plot it around (-2,1). I have detected some issues while using \pgfplotsset{compat=1.14} and \pgfplotsset{compat=1.17} ...
-1
votes
1answer
36 views

Move legend down a bit more

I have 2 questions: 1- How to lower the legend so it doesn't override the x-axis 2- How can I avoid the 5*10^-2 in the x-axis and get 0.05 \documentclass[a4paper,12pt]{book} \usepackage[T1]{...
0
votes
1answer
23 views

Unwanted Extra Circles in Tikz Neural Network (LaTeX)

Using this code, the output is as follows. Why are there extra empty circles appearing in my input layer and how do I get rid of them? Bonus points: how could I go about overlaying weight and bias ...
0
votes
3answers
51 views

How drawing figure attache by TikZ?

How drawing figure attache by TikZ? \documentclass[border=0.5cm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (-2.5,0) -- (2.5,0); \draw (0,-3) -- (0,3); \end{tikzpicture} ...
0
votes
1answer
30 views

How to have multiple children in multiple branches?

I'm trying to get this organization chart. But my attempts failed to reproduce it. If someone knows how to put multiple children in multiple lines/levels, connected to one node, please show me. It is ...
-2
votes
0answers
35 views

How can I draw a Block diagram like this with PGF / TIKZ?

I want to draw this Block diagram with PGF / TIKZ, anyone can help me with this?
0
votes
0answers
67 views

How to draw a pyramid like this in TikZ?

I want to draw a pyramid-like this using tikz. I would be really happy if someone could help me !!!!!!!!!!!!!!!
1
vote
1answer
62 views

How to plot the DFT transformation of a vector with tikz/pgfplots?

My question seems to be simple but still I could not find any answer for that. Assume that we have a vector and its DFT which I computed it in R. > x <- c(3,9,4,2,5,6,2,6) > x [1] 3 9 4 2 5 6 ...
0
votes
0answers
33 views

What is a good tool or software for generating curved lines for Latex graphics?

For example, I want to generate the following images, or I am using LaTexdraw at the moment but it seems to be very bad at generating curves. What would be a good choice for generating these curves ...
2
votes
2answers
32 views

How to move a customized Tikz command around a page

I have a custom command which builds me a pretty picture (the custom replaces 5 draw commands) and I want to be able to copy and move this picture around my document. This is so that I can save myself ...
-2
votes
2answers
37 views

Drawing a hexagon node which further needs to be used in a flowchart [closed]

I need to draw a hexagon node please help.
2
votes
1answer
35 views

How can I obtain a closed curve in Tikz where part of it is smooth

Using commands as shown in the answers to this question, one can obtain a closed, smooth cycle. Copying the example : \begin{tikzpicture} \draw [red] plot [smooth cycle] coordinates {(0,0) (1,1) (3,1) ...
0
votes
1answer
21 views

using columns breaks the compilation of the document

while using the beamer class to try to make this slide 2 things poped up- When try to use columns it breaks the document The coordinates gets messed since the circle expected (thanks to abcdefg) ...
0
votes
0answers
23 views

tikzexternalize or standalone for external compilation of tikz images

When it comes to generating large files with many detailed plots, the standard suggestion is to compile the tikz images externally and only recompile them if there was a change to the source file. The ...
-1
votes
0answers
55 views

Converting sine to radians in tikz

Is it possible to tell tikz to use radians for all sine and other trigonometric functions? I am aware of \pgfplotsset{trig format plots=rad} but do not consider it a solution, since (for me) it works ...
1
vote
2answers
35 views

Adjusting the Tikz control-figure connections

I have this problem with my Tikz figure: As you can see, the different labels stay very close together and even get inside some blocks, as you can correct that to try to make the whole set as ...
0
votes
0answers
20 views

putting a legend outside, on a line [duplicate]

how can I put a legend outside on a single line under the x axis \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,italian]{babel} \...
4
votes
1answer
1k views

How to select a range of data within a .csv file in latex using pgfplots?

I am generating a plot of data using pgfplots in latex. I am using data from several excel files as .csv. Here is the MWE: \documentclass[border=5mm,convert]{standalone} \usepackage{pgfplots} \...
40
votes
4answers
15k views

How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)?

There is a part of my paper where I use the distributive property and it might not be clear to the reader to see the operation result (I'm using in proposional logic for a proof). The logic equation (...
0
votes
1answer
28 views

issue with a circle using tikz,beamer and pgfplots

Im trying to make a circle like this using the next code \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.14} \begin{document} \begin{tikzpicture} \begin{axis}[...
2
votes
1answer
28 views

How to align two tikzpicture images inside minipages without body text overlapping?

Why does the below lead to body text overlapping my images/image caption? How can I fix this? Apologies that I haven't provided a MWE, but this is using the achemso document class from Journal of the ...
0
votes
0answers
43 views

Creating a page border made of text

I'm trying to create a page border that consists of text. I've managed to figure out how to draw the pattern I want with tikz, and have been attempting to use decorations in order to achieve this. ...

1
2 3 4 5
549