9
votes
1answer
99 views

Function rotated about the x-axis

I try to reproduce some figure from that file: http://tug.org/TUGboat/tb33-1/tb103wolcott.pdf I exactly need Figure 7: f(x) = sin x rotated about the x-axis. The code for Figure 7 is in appendix B. ...
3
votes
1answer
83 views

Customizing title page in beamer

I put the following tikzpicture, borrowed from http://tex.stackexchange.com/a/86310/10898, in my beamer title page. Nevertheless, I would like to try two things. On one hand, put the tikzfigure in an ...
1
vote
0answers
71 views

Controlling the orientation of a Tikz decoration markings arrow?

I thought that my woes in Decoration marking arrow style ignored in custom node shape? were temporarily solved, but alas: if I do a dimension line (A) -- (B), then all is fine; but if I do (B) -- (A), ...
1
vote
1answer
47 views

Rotating (and mirroring) draw lines in a custom node tikz shape?

Consider the following MWE: \documentclass{standalone} \usepackage{tikz} \makeatletter \pgfdeclareshape{circtest}{ % \inheritsavedanchors[from={rectangle}] % ...
9
votes
3answers
186 views

Sloped Tikz node with rotation and scale

There should be an easy way to place a sloped node along a path. Using sloped works great (as in the black text). However, if there is a rotate= applied then the text is no longer along the path (as ...
4
votes
1answer
102 views

draw a smooth dendrite

I want to draw a dendrite and here is what I have done till now, \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{3d,calc} \newcommand*{\hd}{1.0}% ...
2
votes
0answers
25 views

How to get the rotate key to affect clickable regions produced with hyperref's \hyperlink? [duplicate]

I'm doing some experiments with \hypertarget and \hyperlink (from hyperref) used inside some TikZ nodes and I noticed an unexpected behaviour. Please consider the following example code: ...
4
votes
1answer
75 views

Tikz: rotating point coordinates over a labelled coordinate

From Tikz: drawing a straight line down in a rotated scope, Paul Gessler pointed out that rotating labelled coordinate (P) in the opposite direction of the initial rotation would counter act it. ...
1
vote
2answers
91 views

Tikz: drawing a straight line down in a rotated scope

I would like to draw a straight line down from (P) to y = -2cm. I tried issuing \draw[rotate = -45, xshift = 0.1cm, >=stealth, |<->|] (P) -- +(0, -1cm); but this doesn't cancel the initial ...
4
votes
1answer
134 views

How to rotate a composition of Tikz nodes correctly, without rotating the text of their labels?

I have seen How to allow labels' anchors in TikZ to be affected by rotations without rotating the text itself?; but that question doesn't seem to answer my problem, so here it goes. With the MWE ...
6
votes
1answer
83 views

How to rotate a TikZ text node depending on its content?

I would like to rotate a TikZ text node by a degree that depends on the content length. So a text node with 20 characters should be rotated e.g. 20*0.1 = 2 degree, a text node with 100 characters for ...
3
votes
2answers
478 views

How can I rotate and mirror a tikz picture in latex

I'm wondering if someone knows how to place one tikz picture cone face to the other in the horizontal position. \documentclass[varwidth,margin=0.5cm]{standalone} \usepackage{tikz} ...
10
votes
3answers
240 views

Special Table with Diagonal lines [duplicate]

Recently, I have to work with some problems that require to draw table like below in LaTeX. I used to think about diagonal line inside a cell, but it's not a good choice for this problem since the ...
3
votes
0answers
53 views

Tikz, rotate, how to specify a point as rotating center? [duplicate]

When I use rotate on a node, it seems to be rotated against its west(As in figure (up) and (middle)), however, what I meant is to rotate it against its center, like (bottom) of figure shows. I didn't ...
5
votes
2answers
179 views

Legend position control within rotated polar axis

How can I shift (control) the position of the legend within rotated polar axis environment? (e.g. shift into the south-east corner?) \documentclass{article} \usepackage{pgfplots} ...
4
votes
2answers
647 views

Rotate curly brace in tikz

I found this question that shows how to draw curly braces in tikz and to mirror them using decorations. But, how can they be rotated an arbitrary angle? .
8
votes
1answer
311 views

Rotate a path around a point

I have a named path (a triangle). How do I rotate it around point A in various angles without recalculating points B & C? Here's my code. I want to create the red and green triangles by simply ...
2
votes
1answer
92 views

Alienation for a manually generated legend

I have generated the graphic below with the following code: \documentclass[11pt]{article} \usepackage{tikz,xifthen} \usetikzlibrary{arrows, decorations.text, decorations.markings, shapes, patterns, ...
4
votes
1answer
176 views

pgf tikz polaraxis: Alignment of labels after rotation [duplicate]

How can labels be nicely positioned in a polaraxis environment ranging from -90...+90 degree and having the data facing south? In ideal case, the yaxis (0...1.0) will be arranged vertically at the ...
4
votes
1answer
147 views

Why the shape is shifted ion rotation?

I would like to draw a similar drawing using tikz So far a created a custom shape \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{wesys}[2013/10/16 Wesys Custom Package] ...
4
votes
1answer
146 views

How can I rotate a custom draw?

I have a custom command \newcommand\windturbine[2][]{ \begin{scope}[shift={(#2)}] \draw[#1] (0,0) ellipse (0.7cm and 0.1cm); \draw[#1] (0.8,0) circle (0.1cm ); \draw[#1] (1.6,0) ellipse ...
16
votes
1answer
624 views

How to rotate a pgfplot?

I'm trying to create a plot like this: So far, I arrived here: With the following (minimalized) code: \documentclass{report} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \begin{document} ...
3
votes
1answer
133 views

rotated text not appearing where expected when using tikz and xelatex

I thought I'd change the font to something none standard from the list of font available on my computer. When I tried to compile the following document, the text that should appear along the spokes ...
7
votes
2answers
174 views

How to extract coordinates in the current scope (before the coordinate transformation matrix is applied)

If I extract coordinates with \pgfgetlastxy{}{}, I get changing results depending on the transformations I've applied to my draw (rotation, scale): \documentclass[margin=0.5cm]{standalone} ...
8
votes
2answers
1k views

TikZ: position text along path

I'm trying to position a piece of text at a certain position along a multi-part path. Here's what I have been trying so far. \documentclass[tikz]{standalone} \usepackage{tikz} ...
6
votes
3answers
303 views

How to allow labels' anchors in TikZ to be affected by rotations without rotating the text itself?

I usually write macros when I need to draw many times a kind of figure. In the final document, I call the macro and then I always apply two transformations : a scale transformation to fit in the space ...
4
votes
1answer
132 views

TikZ: Problem when using shift and rotate

I am having an issue when I use shift and rotate. In one case, the rectangle is being elongated down to the stopping point of the shift and rotate. However, if I issue the same command in another ...
10
votes
2answers
466 views

TikZ: two ellipses in different planes

How can show that two ellipses are in different planes? \documentclass[convert = false, border = 1cm]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} ...
4
votes
1answer
537 views

How to rotate around arbitrary axis in XYZ coordinate system

I am drawing the cartesian coordinate system in XYZ coordinate system and would like to illustrate a point in the 3d space by drawing the projections on each plane. A simple version would be as ...
3
votes
1answer
91 views

Why are the lines off, when tikzpicture is rotated?

OK, I have some rather long code. I tried to reduce it as much as I could, but it's heavily tangled and I'm still not good in the usage of pgfkeys or xparse. The problem: If the tikzpicture is ...
5
votes
1answer
224 views

Tikz: How can I use the power of LaTeX to find the rotation angle of the ellipse?

I need to rotate my second ellipse around some angle. I have made guesses and determined it is around 88.5 degrees. However, I want to identify the exact angle. The code I have so far is: ...
7
votes
1answer
534 views

rotate node shape in tikz

Edit 1 Claudio gave a nice solution to my question. But the image should be included in a beamer presentation. I use for that the option transform canvas={scale=0.5} and this has a side problem ...
8
votes
2answers
2k views

How to rotate a TikZ label

I need to place information below and to the right of a grid. I was not able to rotate the label text of a node. I ended up using \rotatebox, but is there a pure TikZ solution? ...
2
votes
1answer
83 views

What is the nodename.number in the following example?

What is the nodename.number in the following example? For example a.345? Changing number arbitrarily rotates the arrows. How to decide on the numbers so that it remains parallel ? ...
17
votes
2answers
760 views

Creating a triangular table

Is there a way to create something that looks like this? I have looked at the \rotatebox command, but that will not get the same "jagged" edges on the bottom, and looked at How to draw a ...
9
votes
2answers
281 views

arrowhead rotation

I want the arrowhead to look more natural as opposed to goofy (which is the present state) \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.new, decorations.markings, calc, fadings, ...
1
vote
1answer
104 views

adding complexity to a hyperbolic trajectory

Jubobs generated this code from Drawing a hyperbolic trajectory. If we draw a horizontal line that intersects the hyperbola (I really dont want to add this to the picture), we would have some angle. ...
6
votes
1answer
325 views

Typesetting straight baselines in a circular arrangement

I was wondering how one might go about setting the circular arrangement seen here in Figure "(2)"--i.e.,in a series of straight lines radiating from a central point. The most useful thing I've ...
2
votes
2answers
485 views

Rotating around axes with tikz-3dplot

I'm a bit confused by the following code. I would think that the following would produce an animation of rotating 90-degrees around the x-, y-, and z-axes, but the first part of the animation looks ...
16
votes
3answers
1k views

How to fine tune rotation of text along circular path?

After searching the web and finally coming from here (recreating a logo), I couldn't find an answer to what I am looking for. I want to rotate a text inside a circle and have a full control/fine ...
0
votes
0answers
45 views

why does rotation style work on actual coordinates and not variables in tikz 3d plot? [duplicate]

\documentclass{minimal} \usepackage{tikz,tikz-3dplot} \begin{document} \tdplotsetmaincoords{70}{115} \begin{tikzpicture}[scale=4,tdplot_main_coords] \pgfmathsetmacro{\rvec}{.8} ...
1
vote
1answer
297 views

Assistance on arabic text on TikZ

I attempting to use both arabic and TikZ pictures but, I have four problems: The Arabic words appear in reverse order, the first word appears finally ... The sentence is not in arc as in the English ...
5
votes
1answer
452 views

Why such rotate in tikz doesn't work?

\begin{tikzpicture} \node [draw=black, anchor=south west] (label) at (0,0){\includegraphics[width=300mm]{th.jpg}}; \coordinate (ZX) at (157mm,104mm); \coordinate (YB) at (249mm,39mm); \coordinate ...
20
votes
1answer
705 views

Radial Labels on Mindmap - Part II

This is a continuation from Part I, where a solution was provided to create rotating labels in a radial fashion. Closeup of the output looking like this: I was able to improve the solution, ...
5
votes
0answers
306 views

Problem with rotation of pattern in tikz [closed]

Consider the following example. Why does the pattern not rotate correctly both for the tikz rotate and for the rotatebox approach. How can I fix it? \documentclass{article} \usepackage{tikz} ...
7
votes
1answer
602 views

assistance on good handling of text on TikZ paths

I am putting together an ornate logo using TikZ. The logo as it is currently is as follows: I request assistance on handling the lowermost outer text (which reads "UNIVERSITY OF GLASGOW"). For the ...
10
votes
1answer
3k views

How to rotate a node and text independently in Tikz

How can I rotate the text inside a node independent of the node in tikz? Right now I am using the rotatebox. The other option I tried was to have two overlapping nodes. Is there a better way to do ...
3
votes
0answers
63 views

Rotate the fill pattern with the shape in tikz [duplicate]

Possible Duplicate: Moving tiles of the pattern in TikZ I have a rotated rectangle filled with a pattern, and I would like to also rotate the pattern by the same amount. In this MWE, the ...
9
votes
1answer
1k views

TikZ diagonal text

Can you rotate text diagonally in TikZ / latex? I tried \coordinate (P) at (0,0) ; \draw[rotate around={45:(P)}] (P) node {hello} ; But it just draws the text straight (horizontally). I want the ...
5
votes
2answers
1k views

How can I make labels (or other elements) rotate with a node using TikZ?

Is there a way to get label text to rotate with the TikZ node to which it is attached. I can rotate the node and its text; but labels do not rotate along with the node, and instead remain "level": ...