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{...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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) -...
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, ...
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} ...
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....
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{...
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 ...