Linked Questions

1
vote
0answers
35 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} \...
3
votes
1answer
51 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); \...
5
votes
2answers
257 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 ...
1
vote
1answer
36 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}...
0
votes
1answer
105 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 ...
2
votes
1answer
150 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
95 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} \...
5
votes
2answers
145 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 ...
4
votes
1answer
467 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
1answer
60 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 ...
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]{...
10
votes
3answers
352 views

Different dimensions with shift and xshift

I discovered that there is a different default dimension in shift and xshift. Consider the following mwe \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node (a) at ...
17
votes
3answers
5k views

Drawing Axis Grid in 3D with Custom Unit Vectors

I am trying to adjust the unit vectors for each of the axis, and draw a coordinate grid. I can get it to work without specifying the unit vectors, of specifying it as: x={(1.0cm,0.0cm)}, y={(0.0cm,1....
9
votes
3answers
2k views

Drawing complicated 3D designs within TikZ

I've checked the community and analyzed, already, the related questions(here, here, here, here an so on) about this case. All of the aforementioned cases are from the group of the 3D designs, have ...

15 30 50 per page