Linked Questions

1
vote
0answers
23 views

Fade colour as function of angle in tikz [duplicate]

I'm trying to create a tikz picture along the lines of only with the blue colour fading out as it gets to the edge of the blue strip. Ideally, the blue bar should be fully blue in the middle (at the ...
37
votes
2answers
5k views

Path following color gradient in TikZ

How can I get a path following color gradient in TikZ? Here a quick example of the idea. On the left the result I'm looking for and on the right an example of a non path following gradient applied on ...
12
votes
3answers
5k views

How to draw an arrow with two colors?

I want to draw arrow with two colors, the resulted arrow should be filled by one color at the top and by other color at the bottom, like the following code do to a rectangle: \draw[top color=blue,...
19
votes
1answer
9k views

Calling a previously named path in tikz

Using the intersections library, we are able to name a path. For example \path[name path=line1] (0,0) -- (1,1); Now, how can I later in the picture call upon this path with the name line1 and do ...
10
votes
3answers
1k views

How to draw multiple lines inside the circle

I wish to draw the picture like below, however, I don't know how to add multiple lines in side the circle. This is my code: \documentclass[tikz]{standalone} \usetikzlibrary{ shapes.geometric, ...
8
votes
2answers
3k views

How to draw gradient arrows with Tikz

I want to combine the two figures below into one. That is having an arrow with colors going from red at the bottom to blue at the top. Could anyone show me how to do it?
6
votes
3answers
665 views

Making arrow with a gradual colour

I want to make an arrow that has gradual color as shown in the picture below: First I wanted to make that arrow in one stroke, but I do not know how to make shaded color in postaction, so in the end ...
8
votes
1answer
3k views

Fading a path in TikZ

I want to draw a path/plot in TikZ whose shade depends on the coordinate. For example, I want say something like \draw[color=black!\x] plot coordinates{ coord1 ... coord100}; i.e. the shade of the ...
6
votes
3answers
1k views

Multiple tikz path fading in multiple directions

I'd like to create a theorem decoration. Here's a quick take on one: \documentclass{article} \usepackage{tikz} \newcommand{\theoremname}{Theorem} \newcounter{theorem} \newlength{\theoremrulewidth} \...
7
votes
1answer
2k views

How to use i.e. left, middle and right color when using draw as an argument instead of a command?

I'm forced to define colors within my tikzset for one of my projects. This requires me to use the draw command within my tikzset to set a color. Normally I can just use, say \draw command to just ...
2
votes
2answers
624 views

Tikz: drawing border or line with shade

I want to draw a line with a shade, not a big rectangle. As per the documentation, Shading is caused by the shade option (there are \shade and \shadedraw abbreviations). Shouldn't therefore ...
10
votes
1answer
477 views

Tikz: fading a snake curve

Trying to adapt this answer by percusse: https://tex.stackexchange.com/a/134297/3929 for a path that has a snake decoration. It sort of works, but I'd like the curve to uniform thickness. In the ...
2
votes
2answers
480 views

How to shade a region between two arcs of circle

I would like to shade the region between the two geodesics (a,b) and (b,c) in such a way that the color fades as the region becomes wider. This is the code \documentclass{article} \begin{document} ...
3
votes
2answers
114 views

Trying to understand the code and failing to manipulate it for new network

I have a code for 3 wires network. But I'm not able to manipulate it new figure. This is because I'm not able to understand the code completely. This is my code \documentclass[border=2mm]{standalone} ...
1
vote
1answer
820 views

fading a line in tikz

I'm starting with the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta, matrix} \begin{document} \begin{tikzpicture}[description/.style={fill=white,inner sep=1....

15 30 50 per page