{coordinates} is about using coordinates in diagrams.

learn more… | top users | synonyms

3
votes
2answers
131 views

How to create this coordinate system?

I'm currently working on a term paper / lecture notes for my electrical engineering professor and wanted to include the following coordinate system / graph / figure in my paper. (The image should be ...
1
vote
0answers
21 views

How to know the coordinate for Tikz drawing? Is there a way to show the coordinates in Texmaker? Thank you

I have trouble in "estimating" the coordinates in an a0 size poster. How do I know the exact coordinate in the paper? Is there grid or ruler in Texmaker to help me? Thank you.
2
votes
1answer
55 views

Tikz coordinate calculations inside foreach

As part of a drawing that will go with an explanation of diffraction, I want to draw the "outer rays" of a beam of light and draw several rays in between. An MWE of how I'm going about this is shown ...
3
votes
1answer
49 views

Why are my symbolic x coordinate labels printed twice in a tikz plot?

I'm trying to plot a bar graph, using symbolic x coordinates. For some reason, the name of some symbolic coordinates appears under the x axis more than once. If I increase the width (e.g. 12cm) ...
2
votes
1answer
56 views

How to define node / coordinate with perpendicular

How to define / save a point for later usage with x/y-coordinates of other points? I tried to use the perpendicular coordinate system shortform |- and -| but could not define points that way. In ...
0
votes
1answer
87 views

3D Orbits around Sphere, arc points or orbit coordinates positioning

I have again a question about some 3D tikz problem. Added crosspost at: http://www.latex-community.org/forum/viewtopic.php?f=45&t=26046 Added german crosspost: ...
8
votes
3answers
158 views

Tikz: Placing a node relative to the (rectangular) coordinates of another

How do I place one node relative to the coordinates of another? In theory: \begin{tikzpicture} \node (source) {X}; \node (destn) {Y} at source.coordinates +(2,1); \end{tikzpicture} would ...
2
votes
1answer
43 views

Call to coordinate for creating a patch gives an error

I'm trying to construct a patch in pgfplots by means of table data. In attempting to do so, I also use the \coordinate command. Minimum working example: \documentclass{standalone} ...
2
votes
1answer
113 views

grid and draw use different coordinates?

The question is easy to explain with this MWE: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw [very thin, color=gray, dashed] (0, 0) grid (5, 5); \draw ...
2
votes
1answer
98 views

Estimating coordinates to draw over image using TikZ

I need to draw two rectangles (or this could apply to any shape in general) of different colors on top of a diagram. The MWE that I have this is. The code works, but I am unable to change the ...
2
votes
1answer
105 views

Tikz 3d trimetric view coordinate calculation bug

I'm trying to draw a line in the x-y-plane and circles in the y-z-plane at constant x position. Problem is, that the circle is far out of position (x-coordinate of center point of the circle is ...
6
votes
1answer
105 views

Prevent shifting of shading center point when using relative coordinates

I am writing some macros that allow for the drawing of ball shapes in an arbitrary fashion in \foreach loops: \documentclass[tikz, border=0.5in]{standalone} ...
1
vote
2answers
76 views

Text halfway a line using coordinates in an axis environment

I want to denote text halfway a line in an axis environment. Here's a minimum working example: \documentclass{article} \usepackage{currfile} \usepackage{filecontents} \usepackage{pgfplots} ...
0
votes
0answers
68 views

Tikz/pgfplots problem: change x-axis counting at certain x-coordinate

In order to create a particular diagramm, I need the possibility to change the x-axis-counting at a certain x-coordinate so that x runs from 0-10 in steps by 1 and then changes at 10 put in further ...
4
votes
2answers
234 views

Draw perpendicular line from intersection to axes

I want to draw perpendicular lines from the intersecting points to the axes. \documentclass{standalone} \usepackage{pgf, tikz} \usetikzlibrary{plotmarks,arrows,calc} \usepackage{pgfplots} ...
1
vote
0answers
35 views

why tikz will generate a series of .0.0.0.0? [duplicate]

I want to generate several point on a line, and this is the command: \documentclass{article} \usepackage{tikz,pgf} \usetikzlibrary{calc} \begin{document} \begin{figure} \begin{tikzpicture} % ...
1
vote
2answers
194 views

Tikz obtain node coordinates

In tikzpicture, how do I get a single coordinate of a node? This is the circuit I'm making, and I need to know the x coordinate of the node (opamp.out) so that i can make R2 vertically aligned with ...
1
vote
1answer
76 views

How can I draw a line to the vertices of an image in tikz

Basically what I am trying to achieve is the following: - Place 2 images horizontally side by side - Inside the left image (image_1) draw a small red rectangle - Connect the vertices of that ...
4
votes
2answers
153 views

How can I add more coordinates to standard TikZ shapes?

Question I would like to know how to add an arbitrary number of coordinates to the default shapes of TikZ—particularly to the side of a polygon. Sample This is similar to ...
3
votes
3answers
170 views

How to get coordinates going from 0 to 1 in tikz image

I'm trying to create a cover page with a background image filling the entire page. On top of that in the lower third of the page should be a transparent rectangle going from side to side and on top of ...
2
votes
1answer
104 views

How to convert polar coordinates to cartesian coordinates

I am new to tikz. I am using the following code (Polar co-ordinates) \def\radius{12cm} \begin{tikzpicture} \foreach \x in {0,10,...,350} { \draw [shading=radial, inner color=white, outer ...
6
votes
2answers
343 views

drawing smooth path through symmetric points, gives non symmetric curve

I want to make a graphic going through some points. I've choose the points symmetric, to have a symmetric curve, but the curve is not. I could define some extra points, but their must be a better ...
3
votes
1answer
210 views

Differences between paths drawn between nodes and coordinates in tikz

Referencing this very helpful posts and the Tikz manual, which states: Whenever TikZ encounters a whole node name as a “coordinate,” it tries to “be smart” about the anchor that it should choose ...
5
votes
0answers
108 views

\coordinate intersection does not work appropriately in TikZ [closed]

I was trying to use TikZ to sketch some graph but something weird happened. I was trying to use "intersection" to get the coordinate of the intersection of two lines, but strangely, there is always ...
5
votes
2answers
2k views

Tikz coordinate calculation

Consider the followinting tikz picture. I need to place the segment re-D so that its measure will be 8/9ths the measure of the segment ut-C. Now I just placed it at a random distance of 8/9 between ut ...
3
votes
0answers
65 views

Retrieving coordinates of every character in a formula

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 ...
4
votes
1answer
264 views

Expressing a y-only shift with `axis direction cs` with symbolic x coords

I have a vertical bar chart with error bars. I want to put a star just above or below the error bar where the results are significant. I achieved this using the very neat trick provided in this ...
4
votes
1answer
111 views

Changing axes' origin adds weird whitespace

I would like to display points in a Tikz picture, whose y components are all negative. That is per se no problem, but I want the y axis to be a bit higher than the x axis to emphasize the negative ...
4
votes
4answers
353 views

Tikz-Control relative coordinates in background layer

I am creating a block diagram which has two layers : the main one and the background one. What I am trying to do, is draw a rectangle as a background using relative coordinates. My code is ...
5
votes
1answer
133 views

Extracting the value stored in the /tikz/x option

It is possible to change the x distance within TikZ internal coordinate system by passing the /tikz/x= key to the tikzpicture environment. \begin{tikzpicture}[x=14pt] % Picture code \end{tikzpicture} ...
4
votes
1answer
204 views

3d sphere style changes coordinates?

i took this one http://www.texample.net/tikz/examples/map-projections and rebuild or changed it for my use. This is a crosspost to: ...
-2
votes
2answers
188 views

drawing 2-D coordinates with 2 simple line in it [closed]

I want to draw this coordinates with straight lines in it... would you do me a favor and help me?
1
vote
2answers
212 views

Ifthenelse variable equality

Last week I made simple coordinate transformation in order to define \tdplotsetcoord in Cartesian coord. system. My work and support of exp. user can be viewed in this topic. The code looks as ...
2
votes
1answer
40 views

How to print in a node the \coordindex multiplied by a value?

I would like to print in a node the \coordindex multiplied by a value. Is it possible? now: node [ some code... ] {$\coordindex$} after (?) node [ some code... ...
4
votes
1answer
221 views

How to add labels to polar plot / polar comb in polaraxis and show FULL coordinates?

In pgfplots, I am trying to: for a first figure: label 12 polar plots plotted on the bases of 12 tables (values given in cartesian coordinates) without showing a legend but adding a label directly ...
3
votes
1answer
217 views

How to locally specify function range in math expression

I'm creating simple coordinate transformation in order to define \tdplotsetcoord coordinates at Cartesian coord. system. MWE: \documentclass[a4paper,fleqn,leqno]{article} ...
4
votes
1answer
175 views

Help understanding the coordinate system used in tikz

I'm trying to understand how the coordinate system work for drawing pictures with tikz. I'm a little lost... Here is a MWE that shows of some example code: \documentstyle{article} \begin{document} ...
6
votes
1answer
328 views

Specify x and y in different coordinate systems in pgfplots similar to gnuplot

In gnuplot you can specify positions in several coordinate systems: First, Second, Graph, Screen, Character. What are the equivalents in pgfplots? I know the following: First : axis cs: Second : ...
3
votes
1answer
470 views

TikZ - flexible arrow positioning

The following MWE is translating to the desired tikz picture, but the code is not very useful for adjustments. Especially the positioning of some arrows is done very poorly by defining coordinates ...
11
votes
5answers
617 views

automatic tikz coordinate calculations

Right now I have these defined: \coordinate (Z1) at (0.9,0.5); \coordinate (Z2) at (0.816,-0.112); \coordinate (Z3) at (0.46848,-0.46336); But I would really like to automate this to be: so that ...
2
votes
1answer
114 views

Minus signs on coordinates not visible enough with TikZ

I want to draw a system of coordinates with TikZ. At the moment I use the following code (which I copied from somewhere). Now I would like to make the minus signs on the negative y-coordinates more ...
8
votes
1answer
312 views

Placing node at path using `midway` in pgfplots

I thought my problem would have been possibly answered anywhere here, but I could not get it to work. Questions I consider linked to mine but which weren´t able to solve my issue are node placement ...
1
vote
0answers
141 views

Cartesian Coordinate Rotations - Better looking code? [closed]

This is one of my first attempts with TiKZ-3D, so my knowledge is limited. Is there a better or more organized way to accomplish the following?... \documentclass[letterpaper]{article} ...
6
votes
1answer
270 views

How to prepare coordinates for 3D surface plot using pgfplots

I'm trying to plot a Pareto front on 3 dimensions, using pgfplots. However, although I expect a nice surface to appear (since it is a Pareto front), pgfplots does not produce the result I want (yet). ...
1
vote
1answer
201 views

Tikz: How to combine orthogonal edge syntax with coordinate calculation? [duplicate]

I'm trying to combine the syntax for orthogonal edges (p |- q) with the syntax for calculation relative coordinates ($ (a) + (1,0) $). Example: \draw ($ (node1.south) + (1,0) $) to ( ($ (node1.south) ...
4
votes
1answer
111 views

Fit node to another node in a seperate scope that has been shifted and canvas transformed

I want to fit a node to another node which is defined in a different scope which has been subject to the options "(x)shift and transform canvas" (see example code and image). Without any canvas or ...
3
votes
1answer
231 views

Converting node coordinates in tikz 3d?

Consider this MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} \usetikzlibrary{3d} ...
7
votes
3answers
424 views

drawing points coordinates in a graph

I need to draw points coordinates in a graph. In my case, the problem is that the values of the x-axis and y-axis of each point can be very large. That is why I need to edit the code below in order to ...
16
votes
2answers
628 views

Can LaTeX place text by mm coordinates?

My system generates LaTex letters and templates; however, my client has to fill out pre-built forms that they have no control over. I'd like to fill out these forms by measuring the coordinates in mm ...
2
votes
1answer
241 views

Apply shift to (current axis.left of origin)

I was trying to improve the solution at Drawing lines in a plot and give them a label? by using Jake's answer at How to access \xmin, \xmax, \ymin, \ymax from within PGFplots axis environment. So, ...