Questions tagged [pgflayers]

The tag has no usage guidance.

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

fill between and axis on top causes title to be behind grid lines

I want to color an area between two plots using the fillbetween library. Additionally, I want my grid lines on top of the plot (i.e. "axis on top", like in pgfplots' area style; I can't use area style ...
0
votes
1answer
40 views

Tikzpicture / PGF layers rendering in the margin

Alrightly folks, I have one that has stumped me thoroughly and hopefully one of you beautiful brilliant people can help me out. I am attempting to use tikz/pgf to enable me to use absolute ...
2
votes
2answers
145 views

How to generate a node that is always on top in TikZ?

I have the following code, but the node is always hidden by the vertical line. How can I solve this (world and first are hidden by the vertical line)? \documentclass[]{article} \usepackage{...
2
votes
1answer
237 views

TIKZ Matrix nodes filled with colour afterwards and set to background

I have a (maybe easy) problem in formatting a matrix in tikz. In the first step I ordinary filled my matrix with nodes inside the matrix environment. After finishing my matrix I use the fit ...
0
votes
1answer
59 views

boxed Flowcharts

i want to draw a tikzpicture like this: i tried using the following packages: layers, matrix, fit+background but i am pretty new to tikz and can't make it work the initial idea was to draw the boxes ...
1
vote
1answer
154 views

Beamer overlay and Tikz onlayers issue

The angles should appear on the second slide, but they don't. \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{angles} \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \...
1
vote
0answers
125 views

pgfplots: Put xlabel on layer below axis line

Based on How do I make label (node) to appear in front of markers in pgfplots?, I would like to put the xlabel on a white background on a layer above axis grid and below axis lines. I guess this ...
8
votes
1answer
3k views

PGFPlots: Understanding how to draw plots on different layers and arrange them

I have gone through previous questions [1,2,3], but I still couldn't figure out how to draw plots on different layers and change their order of drawing. For this MWE, I would be grateful if I could ...
2
votes
1answer
159 views

Tikz-Uml hidden lines

I have problems with drawing an use-case diagram with tikz-uml. There is no problem if I only use tikz-uml, but if include the smartdiagram package too. I've had some errors telling me that the ...
5
votes
3answers
343 views

TikZ: Place different elements of a same path on various layers

I have different elements (say, a node and a filled circle) defined using a single path: \path (0,0) node [blue] {some text} [fill, red] circle [radius = 1]; Issue: I would like to put one ...
5
votes
1answer
786 views

pgfplots layer issue

I'm trying to define my own layer set which enables plots above gridlines, but below the axis lines, ticks, etc. I've made the MWE based on chapter 4.27.2 of the pgfplots manual. However it's not ...
3
votes
2answers
170 views

Putting node content over a node label

I use labels to place icons within my TikZ pictures: \begin{tikzpicture}[ switch/.style={label=center:{\includegraphics[width=1.5cm]{switch.png}}}, cloud/.style={label=center:{\includegraphics[...
2
votes
1answer
325 views

Ticks vanish in pgfplots if groupplot is combined with set layers and axis on top

I am trying to use set layers to get the grid behind the tick labels and axis on top=true to get the axis on top of the plot lines. If I use these settings in a groupplot neither the ticks nor their ...
3
votes
2answers
606 views

How to have an invisible layer in tikz?

Back in the day (2014), I've had some code posted in Drawing a styled node invisibly (phantom / off-screen)?, which is reposted below. Then it apparently compiled; with my current texlive 2014 (...
8
votes
1answer
415 views

Problems combining clip, layer and pic when multiple instances are included in the same tikzpicture

I'm having trouble figuring out how I am supposed to combine (or if I am supposed not to combine) pics, clipping and layering when more than one instance of a pic is included in a single tikzpicture ...
3
votes
1answer
397 views

How to set node on line on a different layer than line?

Is it possible to declare, that node on lines are on the main layer regardless that lines are in background layer? For example: With the following MWE: \documentclass[12pt,tikz,border=3mm]{...
3
votes
1answer
126 views

Why the background of a pgf fitting node with minimum width equal to another (backgrounded) fitting node's width is shifted?

I have two pgf fitting nodes: one below the other, left aligned, with different (unpredictable) widths, and I'd like them be backgrounded, with backgrounds of the same width. For this, I got help ...
3
votes
1answer
3k views

pgflayer: background and foreground and tikz: pattern for water

I am attempting to draw a barrel floating in water. I am trying to use pgfonlayer so that when the water line intersects the barrel, the line will be removed. Also, I looked through small section in ...