Tag Info

5

One more example: In the drawing, angles are considered in reverse order. For vertical lines, the coordinate is defined, so that only one coordinate now is necessary to determine of height of slice: \documentclass[tikz, margin=3mm]{standalone} \begin{document} \begin{tikzpicture}[ every path/.style = {thick, line join=round} % style of lines ...

8

Like this ? To avoid having to manually calculate the coordinates of the points, I use the relative positioning of the points with the syntax --++. This syntax indicates that to obtain the coordinates of the next point, we add the preceding point (0,-1.24) (4.23,-1.55) --++ (0,-1.24) is equivalent to (4.23,-1.55) -- (4.23,-2.79) indeed 4.23 + 0 = 4.23 ...

4

I suggest to adopt an other strategy by using rotations around the point Cn inside a loop: \documentclass{article} \usepackage{asymptote} \begin{document} \begin{asy} unitsize(1.5 cm); pair A,B,C; real alpha=(20); real beta=(10); real gamma=(180-alpha-beta); real rad=(pi/180); real AC=(3); real AB=(AC*sin(beta*rad)/sin(gamma*rad)); A=(0,0); B=(AB*sin(...

Top 50 recent answers are included