# Tag Info

1

Just for comparison, here's a version in plain Metapost with some explanatory comments. prologues := 3; outputtemplate := "%j%c.eps"; beginfig(1); % first define the unit to use u = 1cm; % now define the paths and points % next define the axes, the bob position, and the path of the pendulum path xx, yy, pendulum; pair bob; xx = (left -- 3 right) scaled ...

3

You can use the angles library which defines a pic for this purpose. The quotes library is used for ease of labelling. \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{calc,patterns,angles,quotes} \begin{document} \begin{tikzpicture} \coordinate (origo) at (0,0); \coordinate (pivot) at (1,5); % draw axes \fill[black] (origo) ...

6

The following specifies the outline, which is filled with a red pattern and drawn with a black line: \documentclass[14pt,letterpaper]{report} \usepackage{tikz} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \filldraw[ pattern=north east lines, pattern color=red, ] (0, -.25) -- (0,.25) -- ++(1.75, 0) -- ++(0, ...

Top 50 recent answers are included