# coordinates's questions - Chinese 1answer

244 coordinates questions.

### 3 Rectangle parallel to a radial direction

3 answers, 121 views tikz-pgf coordinates polar
I wanted to draw a rectangle parallel to a radial direction and I achieved this, but I would like to know if there is a more elegant way to do it. Here is my MWE: \documentclass[border = 0.5cm]{...

### 2 Tikz: display coordinate of node using let command

1 answers, 46 views tikz-pgf coordinates
I am creating a graph where a node is placed. I would like to display the coordinates of that node on the axes without manually entering them. I get Tikz to retrieve those coordinates using let but ...

### 2 Can't move starting point of rectangle [closed]

I want to draw a rectangle which starts in these coordinates: from northwest(3,0) to southeast(4,-2). Here is the code: \documentclass[11pt,a4paper,oneside]{article} \usepackage{amsmath} \usepackage{...

### 3 How to move the origin or mirror the coordinate system?

Consider the following MWE \documentclass{scrartcl} \usepackage{pgfplotstable} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis} \addplot table [ ...

### Default tikz-3dplot main coordinates

I'm looking to draw two pictures, one of which a rotation of the other in 3D. The trouble is, I've already drawn the first. To rotate the second, I would use tdplotsetrotatedcoords, but this only ...

### 2 Is it possible to change the direction of axis in pgfplots?

1 answers, 46 views pgfplots coordinates axis
Is it possible to change the direction of one (or both) axis? I could achieve the visual result by using tikz and compute the coordinate by myself but this is obviously too long for a complex picture....

### 1 Draw rectangle on absolute coordinates

1 answers, 75 views tikz-pgf coordinates draw
I want to draw some rectangles on my pages. For example a rectangle will be drawn Start from top 5cm, left 4 cm End in 3 cm from right, 2.5 cm from bottom I tried tikzpicture package, but it draw ...

### 1 Coordinates computation with tkz-euclide

1 answers, 32 views coordinates tkz-euclide
In tkz-euclide, I want to draw a point with computed coordinates, like in TikZ. However I get a difficult to understand error of syntax which results in a wrong placement. The following MWE shows ...

### 8 3D Cartesian Coordinate System

3 answers, 636 views tikz-pgf coordinates
I want to modify my three-dimensional Cartesian coordinate system as shown in the picture attached. I would like to have numbers under my ticks. I want parts of the grid to be parallel to the x_1 ...

### 8 How to iteratively define coordinates in TikZ?

2 answers, 269 views tikz-pgf foreach coordinates
I'm attempting to iteratively define a coordinate system in TikZ. Essentially, I'd want to replicate the following using a \foreach command: \begin{tikzpicture} \coordinate (A1) at (0,0); \...

### 3 how to draw a differential volume element with tikz

1 answers, 97 views tikz-pgf coordinates tikz-3dplot
from http://www.texample.net/tikz/examples/the-3dplot-package/ I'm trying to draw with tikz a differential volume element in spherical coordinates. I do not know how to draw the four arcs between the ...

### 3 Retrieving coordinates of every character in a formula

1 answers, 153 views math-mode macros equations coordinates
I'm writing a program that uses LaTeX to display formula's. The user must be allowed to click on different parts of the formula, and the program should know on which part the user clicked. Is there ...

### 2 Why coordinate indicate middle of path constructed with controls rather then the start point

2 answers, 24 views tikz-pgf coordinates
Consider this example \documentclass[12pt]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,1)..controls +(2,4) and +(-2,-6)..(4,0) ..controls +(2,6) and +(-2,-6.5)..(8,0)...

### 1 Extract, convert, store and reuse (x,y) coordinate components

2 answers, 102 views tikz-pgf pgfplots coordinates
On a beamer frame, I have two tikzpicture environments one below the other. Both use the axis environment with identical scaling and domains. I need to: Extract some coordinate from the picture on ...

### 1 Place coordinates in a circle with foreach with tikz

2 answers, 108 views tikz-pgf coordinates
I tried to place coordinates as a circle and use them later to draw lines between the coordinates. To do so I thought it should be possible to use a foreach loop which works out perfectly if I use ...

### 5 How to draw and label vertices of a polygon?

3 answers, 302 views tikz-pgf nodes paths coordinates line
I am drawing a convex polygon and a line connecting two points on edges. However, as shown in the figure below, the endpoints of the line are not on the edges. How to fix that? \documentclass{...

### 5 Arrows, coordinates and labels

1 answers, 164 views labels tikz-arrows coordinates
Please, consider the MWE below. \documentclass[border=3mm, tikz, preview]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[ LM/.style = ...

### How to sum coordinates in a \put command in Latex

I would like to place a series of lines using the picture environment in latex but I can to placement of those lines to be relatively placed not absolutely place; i.e. I want to have defined ...

### 1 How to make co-ordinate independent ornamented document?

1 answers, 75 views tikz-pgf coordinates pgfornament
I have this code - \documentclass{scrartcl} \usepackage[banglamainfont=Akaash,banglattfont=Akaash]{latexbangla} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[dvipsnames]{...

### 1 The units do not match with the coordinate system while drawing circles

1 answers, 45 views tikz-pgf coordinates
I have drawn a set of circles in GeoGebra. It looks like this: And I would like to draw the same picture in TikZ. Thus, I enter the coordinate of the centers, and draw using minimum width parameter. ...

### 3 pgfplot addplot with predefined coordinates

1 answers, 114 views tikz-pgf pgfplots coordinates
I have a bunch of coordinates predefined, where I want to draw multiple lines in a plot by reusing coordinates. If I change a coordinate value, I only want to have to change it once, and not in ...

### 3 Tikz: Calculate and store the Euclidian distance between two coordinates

3 answers, 223 views tikz-pgf calculations coordinates
Is there an easy way to store the Euclidian distance between two coordinates? I want to store the value 4 in a macro, so that I can use it to specify the width of a node. The easiest way I could ...

### 2 Using a custom command inside Tikz-Calc

1 answers, 76 views macros coordinates tikz-calc
This my first question here, so I hope that I present it in an appropriate form. At the moment I'm generating lots of schematics using the TikZ-package and it's calc-Library. Therefore I use ...

### 3 Color influences layout?

1 answers, 195 views color coordinates eso-pic
To verify a layout template, I use eso-pic. In this example, all boxes should start at 20mm from the left, but as soon as I use \color...put \color...put the X-coordinates of the boxes are deferred. %...

### 3 How do I fill the coordinate circles?

2 answers, 299 views tikz-pgf nodes coordinates circles fill
as written in the header I have a problem defining the fill colour of the circles, drawn between the arrows. Thank you very much in advance:) Here is the code: (Mistake probably in the upper ...

### 3 pgfplots: drawing multiple vectors with corresponding unit vectors

1 answers, 158 views tikz-pgf pgfplots calculations coordinates
Suppose you have a couple of 3D-vectors given by their start and endpoints. Now you want to define a command that draws one of these vectors together with its respective unit vector from the same ...

### 5 Latitude and longitude coordinates on a sphere using tikz

1 answers, 331 views tikz-pgf coordinates
I am trying from Stereographic and cylindrical map projections by Tomas M. Trzeciak to reproduce the two spheres below. However, I am having hard time to understand correctly the code and so far, I ...

### tikz array of coordinates: iteration and addressing elements

1 answers, 167 views tikz-pgf coordinates
Given the following array of coordinates \def\points{ (-1, 3) (2, 7) (3, 8) } (see its use e.g. in TikZ: Smooth curve through three points without changing direction) how do I iterate (in tikz) ...

### 2 Can a \coordinate be used to define a \pgfpoint?

1 answers, 46 views tikz-pgf coordinates
In this example due to @henri-menke (Can \pgfpoint be used to define a \coordinate) a \pgfpoint is used to define a \coordinate: \begin{tikzpicture} \pgfcoordinate{A}{\pgfpoint{2}{2}} \draw[->]...

### 2 What does (250,75) means in \begin{picture}(250,75)

1 answers, 99 views diagrams coordinates picture-mode
In the code \begin{picture}(250,75) % draw triangle \put(15,10){\line(1,0){50}} \put(65,10){\line(0,1){50}} \put(65,60){\line(-1,-1){50}} % draw square \put(100,10){\line(1,0){50}} \put(150,10){\...

### 1 What is causing the white on the left of this page filling picture? [duplicate]

0 answers, 40 views tikz-pgf coordinates
I am trying to make a page filling picture with a relative coordinate system. I used geometry to set the margings to 0pt and am drawing the picture using tikz. It almoast worked, but I can still see ...

### 1 Can \pgfpoint be used to define a \coordinate

1 answers, 143 views tikz-pgf macros coordinates
Can a \pgfpoint be used to define a \coordinate as in the following example: \begin{tikzpicture} \draw[->] (0, 0) -- \pgfpoint{2}{2}; \end{tikzpicture} I have a \newcommand that calculates \...

### 2 Absolute and relative polar coordinates in pgfplots [duplicate]

0 answers, 32 views tikz-pgf pgfplots coordinates
Today i encountered some weird behaviour (lines with off angles and wrong lengths) while creating graphics with TikZ/PGF. After some searching i have narrowed down the problem to the example shown ...

### 2 How to draw a triangle as a part of a pentagon using TikZ

1 answers, 129 views tikz-pgf coordinates tikz-node
I have a regular polygon using TikZ like this: \begin{tikzpicture} \node[regular polygon, regular polygon sides=5, shape border rotate=-18, fill=blue!20, minimum size=5cm, thick, draw] (Funfeck)...

### 4 tikz coordinate addition in path

1 answers, 156 views tikz-pgf coordinates
The following code: \documentclass[margin = 10mm]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \coordinate (a) at (0, 0); \coordinate (b) at (0, 1); \...

### 2 tikz: coordinate arithmetic when drawing an angle

1 answers, 120 views tikz-pgf coordinates angle tikz-angles
I can draw an angle like this: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc, angles} \begin{document} \begin{tikzpicture} \coordinate(O1) at (1, 1); \coordinate(O) at (1, 0); ...

### 1 Problem with plotting coordinates in pgfplots [duplicate]

0 answers, 36 views pgfplots errors coordinates
I have a problem trying to add a point using pgfplots. I want to plot a complex number, 4^(1/3)*(cos(2pi/9) + i*sin(2pi/9)). This gives that the x-component should be cos(2pi/9)*4^(1/3), and the y-...

### 2 How can I scale the labels on a coordinate plane using tkz-euclide?

2 answers, 117 views scaling coordinates tkz-euclide
I have some code to make a coordinate plane that my students can use for graphing, but it takes up most of the page. Working Code, but image is too large: \documentclass{article} \usepackage[...

1 answers, 52 views coordinates pgf-umlcd
\documentclass{article} \usepackage{pgf-umlcd} \usepackage[a4paper,textwidth=8in,showframe]{geometry} \begin{document} \begin{tikzpicture} \begin{interface}[text width = 6cm]{SG}{-3,3} \...

### Block-like environment in beamer (using tikz's current page coordinates)

I am trying to define an environment that looks like the following (see picture and code below) the environment body is contained in a background rectangle; this rectangle extends to the edges of ...

### 1 Is there a way of drawing a line of any length between points without resorting to complicated arithmetic?

1 answers, 52 views tikz-pgf coordinates points
I am looking for something like pointA to pointB, length where pointA is starting point, pointB is ending point, and length is a line length spanning from starting to ending point. \documentclass[...

### 8 Draw curve in same curve small

3 answers, 505 views tikz-pgf plot coordinates
I want two make same space between two smooth curves \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \coordinate (O) at (0,0); \draw [...

### 6 Linear transformation Coordinates

2 answers, 587 views tikz-pgf coordinates transformation
I want to transform the canonical coordinates system , i.e. whose basis vectors are (1,0) and (0,1): \documentclass[a4paper, 12pt]{report} \usepackage{fullpage}[1cm] \usepackage{tikz} \usepackage{...

### 3 Tikz: Compare coordinates of two nodes to determine coordinates of next node

1 answers, 85 views tikz-pgf nodes coordinates
I am currently making a flowchart to describe the dependencies of modules in an algorithm. There are several branches and these reconnect at some point. Because my algorithm is still changing, the ...

### How can i represent a pendulum on the x-axis of a Cartesian coordinate system

1 answers, 100 views tikz-pgf coordinates
I had started working with the tikz-3dplot and the pgf packages for writing a course of classical mechanic. Can you help me to draw a pendulum on the x axis of a Cartisian coordinate system? I want ...

### 5 With TikZ, How do I use a labeled coordinate that's inside a node?

1 answers, 561 views tikz-pgf coordinates
In the following diagram, I'm trying to draw a line from the center of the red dot (inside the blue node) to the green node. The coordinate of the red dot is labeled "thepoint", so this should be easy....

### 1 How to selectively tell tikz that a node should acquire its coordinate by adding all coordinates of all enclosing tikzpictures?

2 answers, 52 views tikz-pgf nodes coordinates
There should be a recommended/standard/usual way to do (what is suggested by) the following: \begin{tikzpicture} \node (tikzpicture0) at (0pt,100pt) []{ \begin{tikzpicture} \...

### 3 access a coordinate in a nested \tikzpicture

3 answers, 201 views tikz-pgf coordinates
In the following code \documentclass{article} \thispagestyle{empty} \usepackage{graphicx} \usepackage{tikz} \begin{document} \begin{figure} \begin{tikzpicture} \node(inset) { \begin{...

### 4 tikz node dimensions

1 answers, 276 views tikz-pgf coordinates
How can I get tikz node dimensions such as height and width? I am interested to use these parameters to precisely calculate placement of objects, e.g. using <a.height> in the following example: ...

### 3 Getting vertex coordinates from \feynmandiagram

1 answers, 55 views coordinates feynman tikz-feynman
It is handy to have the automated vertex placement at \feynmandiagram from the tikz-feynman package. Is it possible to retrieve vertex coordinates from the \feynmandiagram block? In the following ...