11
Transforming Coordinates and Canvas
In this chapter, we will deal with transformations. We already used a basic transformation in the code for Figure 9.0 when we used the yshift option to move a coordinate higher in the y-direction. We will now look thoroughly into moving, rotating, and scaling coordinates and apply this to our drawings.
In particular, we will explore the following topics:
- Shifting nodes and coordinates
- Rotating, scaling, and slanting
- Transforming the canvas
Once you have mastered this chapter, you will be equipped with a toolset for minor adjustments and even complex relative positioning of coordinates, nodes, edges, or complex paths.
Technical requirements
At https://tikz.org/chapter-11, you can study and compile the ...
Get LaTeX Graphics with TikZ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.