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.

learn more… | top users | synonyms (3)

2
votes
0answers
28 views

The endpoints of the domain entered as a function in a `pgfplots` not recognized

I have the graph of y = 1/x in a tikzpicture plotted to the right of text in a minipage environment. I have domain=-3:{-1/9} for the part of the graph to be plotted over the set of negative real ...
2
votes
0answers
58 views

How to use MOdiagram for d-orbital splitting?

I've been trying to use the package MOdiagram to simply draw the orbital diagram of one atom, but I have the problem that MOdiagram (as far as I know) only allows you to input s, p, d, and f orbitals, ...
2
votes
0answers
47 views

unable to compile tex file without deleting .aux and . bbl files

When I delete the files .aux and .bbl the compilation succeed allowing me to generate a PDF file, but if I want to compile without deleting these files the following error message appears. Command ...
2
votes
0answers
45 views

How to fix a coordinate for a node wrt grid in Tikz picture (Tikz101)

I am at Tikz 101 level so am figuring out a unified way of drawing graphics so that the all are positioned wrt to a fixed ref point in all slides in a beamer document. To get a reference coordinate, ...
2
votes
0answers
55 views

How to get rid of the following error with pgfplots?

When I am running the following code with data.txt file... \documentclass{standalone} \usepackage{tikz,pgfplots} \begin{document} \pgfplotstableread{data.txt}\Rtable ...
2
votes
0answers
39 views

Have tikz bezier control points defined off of page

I have taken it on myself to reproduce some of my university's PPT templates (not that I necessarily love the design, but I have some good reasons for undertaking this venture) using Beamer. I have ...
2
votes
0answers
89 views

Use animateinline inside tikzpicture

I am doing a beamer presentation with animated tikzpicture environments. In the MWE, the top figure consists of a plot which never changes and a point moving on it. Since the plot is long to compile, ...
2
votes
0answers
42 views

Normal and tangent vector at specific absolute rather than relative point

I would like to draw a normal vector on a curve at a specific point. I looked up several questions (e.g. 1, 2, 3, etc) and the answers contain nice solutions for drawing a tangent or normal vector to ...
2
votes
0answers
57 views

How to set the size of a shape?

Using some custom shapes I found that the text labels are not considered for the calculation of the bounding box of my shapes. Do I need to draw some (invisible) shape to generate the bounding box or ...
2
votes
0answers
54 views

How does tikz-3dplot parse keys?

I'm trying to draw in spherical polar using tikz-3dplot and I don't understand how some of the \td... commands parse their args. What I do is define a pic, which takes 2 arguments (using /.style args) ...
2
votes
0answers
88 views

Problem with the TikZ library hobby

I am using the last version of MiKTeX. After the last update I realize that the TikZ library hobby is no longer working. As proposed by the answer of this question, I downloaded it again from here but ...
2
votes
0answers
68 views

Draw two dependent figures with tikzpicture

For a report I want to create one figure showing the costs of employees vs. time in a small company. In the bottom figure the accumulated costs are shown. The plots should look as follows: With the ...
2
votes
0answers
53 views

Combine isodate header and simple week-based timeline in a gantt chart

I'm trying to create a time chart and found the pgfgantt package to be the most suitable choice. Basically I need a timeline about 23 full weeks, something like: \begin{ganttchart}{1}{23} ...
2
votes
0answers
53 views

PGFplots, memory and GNUplot

My question is quite simple. I generate a lot of plots for my thesis in PGFplots, which I generate in separate PDF files using the standalone package (could not get shell escape to work properly). The ...
2
votes
0answers
92 views

How to make 3D ribbon plots in PGF/TikZ

I'd like to make a bunch of 3D ribbon plots in TikZ or PGF, I've taken a look around and I've found no hints on how this might be accomplished, is there a simple way to do this? I'd settle for a 3D ...
2
votes
0answers
79 views

Turn a six sides into a 3 sides logo

How to change the codes below so that we have a triangular logo shape? \documentclass[tikz]{standalone} \usetikzlibrary{shapes.geometric} \tikzset{my polygon/.style={regular polygon,regular ...
2
votes
0answers
52 views

problem when using scope and rotate with tikz

I wish to take this picture with tikz turning figure generally this type of scheme does not ask me problem and I wrote the following code \documentclass{article} \usepackage{tikz} ...
2
votes
0answers
78 views

How to draw (Cartesian, cylindrical, and spherical) coordinates and differential elements?

How to draw the following figures? I tried to do it myself, not an easy job, apparently! I did also find these relevant posts: For the 1st pic: 3D Cube within a cube? For the 2nd & 3rd pics: ...
2
votes
0answers
134 views

how to draw this using tikz?

I am trying to illustrate something like this using tikz or pstricks. I almost have what I want, which is essentially a 3 dimensional object spanned by the vector. I would like to add faces that ...
2
votes
0answers
68 views

stacking histograms in pgfplots

The stacking is not working correctly. This is what I get: This might be a problem of different bins, but even restricting them is not working (slightly related questions about common bins are ...
2
votes
0answers
51 views

Pull down a message thread in a pgf sequence diagram

Is it possible to somehow hack the sequence diagram to extend the thread of the received message on Some Server, that it will reach down to the next message notify? The code it the following one: ...
2
votes
0answers
46 views

Precision of \tkzCalcLength

I was typesetting a triangle with tkz-euclide, trying to automate the process as much as possible, and noticed that there is some calculation mistakes when using \tkzCalcLength and \tkzGetLength AND ...
2
votes
0answers
109 views

Blurred colormap using matlab2tikz to export Matlab imagesc picture

I'm using matlab2tikz to export imagesc figures into TikZ/pgfplots code. This process gives me a TikZ file and a rasterized png version of the image with colours matching the colourbar at the time of ...
2
votes
0answers
78 views

fading angle does not work?

I am trying to draw a figure of a dihedral angle. The figure is Think that the line OB is a river and the line AC is a bridge over the river. I want the colors to fade from the tops C and A toward ...
2
votes
0answers
66 views

Printout of TikZ colorbar gives wrong colors

I want to publish a PDF with a print-on-demand service, but the resulting hard copy has errors in the printed colorbars. The colorbar is generated with TikZ by \begin{tikzpicture} \begin{axis}[ ...
2
votes
0answers
34 views

How do I set /pgfplots/trig format?

I am trying out pgfplots: \documentclass[]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[xmin=0,xmax=2,ymin=0,ymax=1.25, samples=50, /pgfplots/trig format=rad] ...
2
votes
0answers
62 views

Translate plot data from file in tikz

I have some x,y coordinate data organised as two columns in my mydata.dat text file. I have no problem plotting this, but I want to plot the same data but just translated by some 2d Vector. My attempt ...
2
votes
0answers
36 views

Ignoring the space occupied by a character in a node command

I have two angle measurements that I want positioned along the imaginary angle bisectors of the angles. The space occupied by the "${}^\circ$" character shifts the position of the number too far from ...
2
votes
0answers
82 views

Two nodes not placed properly on a TikZ diagram

I have the code for a triangle. A median is drawn, and the marks for the measures of four angles are drawn. I have a question about the placement of the \theta and the \psi in the diagram. The code ...
2
votes
0answers
66 views

fill opacity, opacity, and draw opacity commands don't work at all - tikz, tikz3dplot

I'm new to tex.stackexchenge. I tried for many and many times to draw the circular shaded areas in red and orange in such a way to superimpose them in transparency (with an opacity parameter of 0.3) ...
2
votes
0answers
227 views

Draw an intersection of two planes

I use this code for producing the intersection of two planes: \begin{figure}[h!] \centering % Generat amb TikZ \begin{tikzpicture}[x={(240:0.8cm)}, y={(-10:1cm)}, z={(0,1cm)}, ...
2
votes
0answers
127 views

Type of sankey diagram

I searched and identified a type of sankey diagram that could show the software lifecycle as swimlanes and the tool chain used. I code basic tex but need some help. Are there libraries that can ...
2
votes
0answers
49 views

Working with lengths in node shape definition

This question is a bit tricky. I am trying to build symbols of flow charts for pneumatic circuits. I don't need that many elements, but I would like to be able to extend my collection similar to what ...
2
votes
0answers
72 views

Stepwise edge hightlighting (tikz) doesn't work with template

I'm just now working on a written paper for a presentation I've given and would like to reuse the graphs developed for the slides. Unfortunately the template given for the paper somehow screws with my ...
2
votes
0answers
65 views

TikZ plots samples count — the more, the better?

I plot a lot of spirals like this one: \draw[domain=0:2*pi, variable=\t, samples=500] plot[fixed point arithmetic] (1.2*exp(0.22*\t)*cos(deg(\t))}, {1.2*exp(0.22*\t)*sin(deg(\t))}); with ...
2
votes
0answers
59 views

Conditional compilation of a graph

Is there a way to avoid compiling a piece of TiKz code \begin{tikzpicture} ..... a heavy job here that takes 30 seconds to process \end{tikzpicture} so that, if we do not make changes on ...
2
votes
0answers
109 views

Webpages that show off beauty of LaTeX output relative to `competitors?'

There is a question (Showcase of beautiful typography done in TeX & friends) with many great answers showing off the great things one can accomplish with LaTeX. There are books (like Tufte's) ...
2
votes
0answers
87 views

Rotate scope about Y-axis in tikz

I have a cyclinder (solid) which is little tilted. I want to rotate it about Y-axis. Below is the code- \begin{tikzpicture} \begin{scope}[shift={(0,0)},rotate=30] \coordinate (ll) at (-2,0); ...
2
votes
0answers
112 views

3D effects for hollow and solid cylinder in tikz

I want to make following things in tikz- Solid Cylinder Hollow Cylinder The solid cylinder is little tilted and touching the top surface of hollow cylinder. The hollow cylinder is open from both ...
2
votes
0answers
91 views

TikZ: identify intersection points to draw function

Is it possible to just show the part of the blue function that is strictly greater than the red one? \begin{tikzpicture} [/pgf/declare function={ f=2; g=1.4*(x-2); h=.1*x*x+.2*x+.5;}] ...
2
votes
0answers
80 views

Nesting tikz pictures

I do prepare some standalone tikz pictures, which later I want to combine in a 'subfigure' style. Is it possible to put tikz pictures, drawn in absolute coordinates, into nodes, and combine them the ...
2
votes
0answers
57 views

Coordinate naming in custom Tikz package

I want to make my own Tikz library/package or just a set of commands for making hydraulic diagrams within the Tikz environment. Say I want to draw a valve like (b) with the notation for the nodes in ...
2
votes
0answers
129 views

Interactive sliders in tikz

Is it possible to make an interactive picture or animation with tikz which has an interactive slider? The output format doesn't have to be pdf in this case, maybe also html or something else. The ...
2
votes
0answers
116 views

Asymptote: Intersect Line with Plane, z-order not correct

Hello TeX Stackoverflow! I have a question about 3D plotting in Asymptote. I want to produce a very simple 3D sketch of a line intersecting two planes, but I have trouble making it look "realistic": ...
2
votes
0answers
102 views

Drawing many bent paths [(n*(n+1))/2] in a nice way (tikz)

I have to draw a graph where many nodes (n=13) are all connected with paths to each other (k=78, k=[n*[n+1]]/2). The paths should be bent (APA style requires this for paths that symbolise correlations ...
2
votes
0answers
75 views

tikz tow rows of fixed size text rectangles

I am learning tikz and I wish to use it to draw two rows of fixed size boxes each with a printable character in them to display data. I have tried to do this in the attached example, but I cannot ...
2
votes
0answers
206 views

Customizing Block style in tikzposter

I am looking to create a customized poster theme based on the following template: So far I have been able to successfully customize the color and title styles (See below). \documentclass[25pt, ...
2
votes
0answers
74 views

Difficulty compiling with aobs-tikz with MikTeX on Windows, but not texlive on Linux

I've made a presentation using Beamer. I use the aobs-tikz package for the overlay-beamer-styles. I can compile my presentation in Linux with texlive, but I can't compile it with MiKTeX on Windows. ...
2
votes
0answers
84 views

Arrows with curved line

I Need to reproduce a figure somewhat like the one here: Drawing Angles The problem is that I get a figure wich differ from the original one: the arrow at the end of the spiral get vertical ...
2
votes
0answers
127 views

Draw a convex hull and a plane using Pgfplots, in this specific case:

I have 2 surfaces to plot. The first one is a convex hull that passes through 7 points, and the second one is a plane formed by 3 points. The corresponding code is the following: ...