# Linked Questions

18answers
41k views

### How can we draw a Christmas tree with decorations, using TikZ?

I would like to use TikZ for drawing a christmas tree. Here's a start, I used the lindenmayersystems library for drawing a tree: \documentclass{article} \usepackage{tikz} \usetikzlibrary{...
3answers
797 views

### How to partially make a segment of a path dashed?

I have two stocks, A and B. These two "meet" each other at rates q(x), and f(x), by going through a joint-state process called X. Then, A becomes a, and B becomes b. I thought about visualizing the ...
2answers
843 views

### How can I draw dashed lines of this picture?

I am trying to draw this picture I tried \documentclass[border=2mm,tikz]{standalone} \usepackage{tikz-3dplot} \usetikzlibrary{3dtools} \tikzset{intersection of line trough/.code args={#1 and #2 ...
1answer
860 views

### Eraser tool for TikZ

I am asking for a style (or something similar), let us call it ERASE. The imaginary tool works as a convenient inverse clip or eraser within a scope. The specific way is asked within the comment in ...
3answers
1k views

### How to fill a split node with two different colors?

I have that issue when try to fill a split node with two different colors. After using rectangle split part fill={red,blue} as an node argument the drop shadow overlap the node because I don't use the ...
4answers
664 views

### Intersection of a sphere and a plane knowing equations

I am trying draw a circle is intersection of a plane has equation 2 x − 2 y + z − 15 = 0 and the equation of the sphere is ( x − 1)^2 + ( y + 1)^ 2 + ( z − 2)^ 2 − 25 = 0. The plane cut the sphere is ...
1answer
2k views

### Morphing only a part of a full path in tikz

This might be a tikz newbie question but I have some trouble solving this. I want to draw and fill a rectangular path where path morphing should be applied only to the upper side of the shape, more ...
2answers
237 views

### Test whether a circle fully lies within a polygon in TikZ

Given the following TikZ picture with an irregularly shaped polygon: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \path[draw=blue] (0,3) -- (5,4) -- (3,2) -- (4,0) -...
2answers
415 views

### Filling a box excluding circles inside it

I was trying to create an image in TIKZ. My code is as below: \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes.geometric, shadows, fit, arrows, ...
1answer
538 views

### Filling an area between two curves

I would like to draw the following figure: To do this I have used the following codes : \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \begin{document} ...
2answers
433 views

### How to improve this stereographic projection

I am trying to draw the stereographic projection in the following way: \documentclass{article} \usepackage{mathtools} \usepackage{wrapfig} \usepackage{pgf,tikz,pgfplots} \usetikzlibrary{decorations....
1answer
552 views

### Shade part of a Venn diagram

Can someone show me how to shade the yellow region by modifying my code? Thank you in advance guys :) \documentclass[]{article} \usepackage[margin=0.5in]{geometry} \usepackage{pgfplots} \renewcommand{...
3answers
173 views

### Tikz equivalent for pst-rputover

For pstricks the package pst-rputover (new on ctan since 2017-03-28) has been created to solve following problem In brief, I'm looking for a version of \rput* that blocks out lines but not fill ...
1answer
350 views

### TikZ - Explain the computation of the determinant of a square matrix of dimension 3

I would like to show the classical trick to calculate the determinant of a square matrix of dimension 3. Here is my very beginning code. \documentclass{article} \usepackage{tikz} \usepackage{...
1answer
312 views

### Draw death star

How to add the typical grid cells (image modified from https://en.wikipedia.org/wiki/Death_Star) to the following sketch of the death star? This is what I have so far \documentclass{standalone} \...

15 30 50 per page