Linked Questions

5
votes
1answer
1k views

Drawing circles on a 3D Plane

I have this steel plate, and I want to put a circle on it so that the circle lies in the "horizontal" plane of the plate: % vim: ft=tex \RequirePackage{luatex85,shellesc} \documentclass[tikz]{...
5
votes
2answers
254 views

How does tikz parse the coordinates surrounded by brackets like (2cm, 1cm)

I have a question about the coordinates in tikz: when I set the style of a node by shift={(1, 1)}, what happens and how are the coordinates parsed into corresponding offset applied to each point of ...
4
votes
1answer
1k views

drawing a circle in the xy plane when using 3d coordinates

I am trying to make a circle in the xy plane that has walls that slope up. How can I do this? Basically a bucket with a bigger opening then base. \documentclass{article} \usepackage{tikz, tikz-...
5
votes
2answers
140 views

TikZ: Advantage of position values attached with a unit?

Regarding TikZ-images: When should I type positioning values attached with a unit (e.g. \draw (0cm, 0cm)...) and when should I type them without a unit (e.g. simply \draw (0, 0)...)? Minimum Working ...
3
votes
1answer
404 views

Coordinates unit in pt although default is cm in TikZ

As we know that in TikZ, if unit is not mentioned in the coordinate in TikZ, it takes cm by default. When I extract the coordinates, I was expecting the unit as cm. But TikZ shows the unit in the ...
1
vote
2answers
424 views

Find cylinder tangent in 3D

I am trying to draw a complicated form that is loosely based on a half cylinder. I am using tikz-3dplot to be able to accurately draw arcs in planes other than the xy-plane and to nicely set the ...
2
votes
1answer
136 views

TikZ: Define 3D coordinate axes for the space pyramid (tetrahedron)

How can I specify such coordinate axes? So then, e.g. A(0,0,0) or C(a, a, 0). What is the angle between the x and y axes? Yes, I am frankly just wondering. Probably not simply 30 °; it is something ...
3
votes
2answers
91 views

Why is a tikz node's minimum width not beholden to the x scale?

I'm trying to create kind of a timeline picture where I have a set "width" of 230 and everything renders according to that width. For example, if I say a node has a width of 115 then it should be half ...
2
votes
1answer
63 views

Making a checkerboard with `foreach`

Why are these two diagrams different? \documentclass{amsart} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{tikz} \usetikzlibrary{calc,intersections} \begin{document} \begin{tikzpicture} \...
0
votes
1answer
101 views

Getting started drawing basic 3D objects with TikZ [closed]

Is it possible to draw this with TikZ (or perhaps a similar package related to postscript, metapost, SVG, etc.)? Sorry, I don't have much to offer this time. I usually like to provide a bunch of code ...
1
vote
1answer
59 views

tikz-3dplot accumulates the transformation every time let operator is used

In follow up to my previous question, I now have the following problem with the tikz-3dplot library. Every time I use the "let" operator, the transformation matrix seems to act again on the coordinate ...
3
votes
1answer
50 views

tikz arithmetic with numbers and lengths

Consider this example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \def\starty{3} \def\length{1}; \coordinate(a1) at (1, \starty); \...
1
vote
1answer
35 views

What is the relationship between given coordinates, scale, and obtained coordinates?

I have a pgfshape declared as \pgfdeclareshape{Curve1}{ \inheritsavedanchors[from=coordinate] \inheritanchor[from=coordinate]{center} \backgroundpath{ \begin{pgfscope} \pgftransformshift{\centerpoint}...
1
vote
0answers
33 views

Strange scaling issue with circles in tikz/pgfplots [duplicate]

I am suddenly having a strange issue with circles within an axis environment. Any circles drawn inside an axis become weirdly stretched, as in the following example: \documentclass{standalone} \...

15 30 50 per page
1 2