For questions about calculating intersections using {tikz-pgf} or {pgfplots}, including PGF's `intersections` library.
3
votes
1answer
85 views
Right Angle Symbol Alignment with TikZ/Calc
I used a solution from @Jake from this post Insertion of Perpendicular Symbol at Intersection of Two Lines, but the alignment is not quite right. I have my suspicions why, but I don't understand the ...
2
votes
0answers
81 views
How to find intersections between line and rectangle with rounded corners
I'm trying to display a line "under" a rectangle. For this I tried using the intersections package, but somehow I the line doesn't stop:
\documentclass[a4paper]{article}
\usepackage{tikz}
...
2
votes
0answers
19 views
node at sloped path and/or not respecting every path/.style [duplicate]
I'm producing a schematic Nyquist plot, and I want to create an arc between the x-axis and a straight line, which should be denoted PM (phase margin). I use the intersections library to find the ...
5
votes
1answer
132 views
ellipse intersecting a circle
I am trying to draw an ellipse which intersects the sphere of influence, that is, the dashed circle around the moon. The ellipse needs to pass through (-170.864:.7cm) location along the v0 vector and ...
8
votes
1answer
84 views
Avoiding line intersection
i wanna do something like that: Non-intersecting lines on class diagram
with that:
http://www.texample.net/tikz/examples/oxidation-and-reduction/
It will be something like:
4
votes
1answer
107 views
Plotting the frequency bandwidth
I do not have almost any experience with pgfplot and I am having some problems with something which seemed really easy.
What I want to do is filling the area between a function and two vertical ...
3
votes
1answer
99 views
Creating Interactive graphs like Stack exchange reputation tab
I like to prepare an interactive timeline graph (static on load, but dynamic on MouseHover event). Somehow is similar to the Stack-exchange reputation tab for an user. One classic example is here. ...
1
vote
0answers
177 views
How to draw a curve in LaTeX
I'm using TeXworks and I'm trying to draw curves. I have to design a lot of different ones; I don't need the numbers, just basic shapes, and I will need to add straight lines over the curve to show ...
11
votes
1answer
250 views
How to decorate a path with arrows at certain coordinates?
Next example (taken from TiKZ manual) shows how to find intersection points between two paths.
Once you know intersection points it's easy to decorate them with any marking. But if I want to use an ...
14
votes
1answer
557 views
Intersection of two surfaces
I'm trying to create a signed distance function S(x), where I want to intersect S(x) = 0 with a plane. The problem is not to get the two functions into a plot, but to get the two functions to visual ...
9
votes
2answers
561 views
Intersection of 2 surface plots in pgfplots
My question is pretty much a duplicate of this one. I'd like pgfplots to display the intersection between tho surface plots properly. Unfortunately, my function is quite different from the one in the ...
4
votes
1answer
56 views
Why two macros in intersections are not expancded?
Two path names inside intersections are not working. Only one macro seems to work.
I have tries all the combinations of macro expansion but in vain. In the following 'h\x and \vy' is not working. It ...
3
votes
2answers
219 views
Make line extend beyond endpoint and intersect with line
Is it possible to have a line go through two coordinates and then extend until it intersects with another line? The line in question is not horizontal nor vertical (otherwise I could use the ...
1
vote
0answers
34 views
Extract x and y coordinates when using intersectionlibary [duplicate]
Possible Duplicate:
Coordinates of intersections
I have the following minimal plot
\documentclass{standalone}
\usepackage{pgfplots}
\usetikzlibrary{intersections}
...
9
votes
2answers
330 views
Tikz — Rotating a line around an intersection
I've been trying to rotate a line around an intersection. The problem (I think) is that the intersection is in a previous scope (I need that to have the correct clipping), and the new scope doesn't ...
6
votes
1answer
208 views
TikZ Intersection missing the true intersection slightly
I'm having issues with the intersection feature. It works, but it seems to "miss" the true intersection a bit. The code below produces the error for me. See this image (can't post it directly because ...
3
votes
1answer
185 views
Lines generated with TikZ intersections are too short
My script calculates several intersections of lines (green) with a vertical "wall" (not shown). The intersections (small red dots) are fine. But the lines from one intersection to another intersection ...
8
votes
3answers
457 views
Intersection of lines to draw a convex function
I'm trying to draw (in TikZ) a convex function f constructed as the minimum of the linear functions
f1,
f2,
f3 and
f4.
To do that, my inclination is to use the intersections of said lines to find the ...
6
votes
1answer
283 views
tikz intersection fails in combination with the library calc
In the second example I am trying to work the the library intersection. It works fine as long as I don't use the calc library.
The first example shows my intention. I am using ($2*(w1')$) which ...
10
votes
2answers
686 views
“pgf Error: No shape named i-0 is known”, but only upon 2nd run
Update 2012-01-31:
This seems to be a version (and/or OS specific) problem. It breaks on my latest TeXLive2011 on a Mac, but I can get it to run on my PC version of MiKTeX 2.8, and @MarcvanDongen ...
6
votes
3answers
1k views
How to Intersect an arc with a line without calculating the angle
I'd like to draw an optics-related figure, for which I need to draw several beams with varying opening angles, which will need to be labeled.
What I've come up at the moment (boiled down to a minimal ...
10
votes
2answers
949 views
Coordinates of intersections
In axis environment I have a curve and a line intersecting it. How can I get components of intersection-1, intersection-2 etc. in axis units?
\documentclass{minimal}
\usepackage{pgfplots}
...
2
votes
1answer
131 views
finding points on path with given x-coordinate (marking f(x) points for given x's)
A y=f(x) function is given as path; for a set of x-coordinates, I want to place node (x,f(x)) onto the path, and connect it with (x,0) with vertical line.
I have not got very far myself:
\tikz{
...
5
votes
3answers
2k views
TikZ: Intersection of two lines
what is the easiest way to determine the intersection of two lines? I tried
\usetikzlibrary{intersections}
\begin{tikzpicture}[every node/.style={black,above right}]
\draw[name path=line 1] (0,0) -- ...
4
votes
1answer
234 views
More: Generalised: Accessing the logic values of a TikZ coordinate
This is a follow-up question to: Generalised: Accessing the logic values of a TikZ coordinate.
In that question a PGFplot answer was suggested by jake.
I took that answer and modified it to the ...
5
votes
1answer
823 views
How do I name a plot in tikz and use it for intersections?
I want to create a figure with 3 plots, a vertical reference line, and marks at the intersections of each plot with the reference line. The plots come from an external table.
Plotting works, but ...
6
votes
1answer
713 views
Intersections in PGFplots
I can get intersections to work in TikZ, but not PGF plots. I defined a command to show the intersections to make sure that it is identical in both cases. Commenting out the \ShowIntersection line in ...
6
votes
1answer
278 views
Is there a way to clear paths previously defined with name path global in TikZ
In the solution to Intersections in PGFplots it was pointed out that each \addplot command was drawn in its own scope and using name path would not survive outside of that \addplot command. The ...
4
votes
1answer
809 views
How to access \xmin, \xmax, \ymin, \ymax from within PGFplots axis environment
In the MWE example below I have the values specified twice, but would prefer not to have to do that. Furthermore, it is possible to allow PGFplots to automatically select these end points so I would ...
7
votes
2answers
1k views
Insertion of perpendicular symbol at intersection of two perpendicular lines
This provides good details on How to draw a line passing through a point and perpendicular to another?. What I would like to do is to extend this somehow to add the usual geometry symbol to indicate ...
4
votes
1answer
347 views
How to specify a name path for the axis in PGFplots
When I use the {axis} environment, the axis are drawn automatically so I am not able to specify a name for them? I would like to be able to compute intersections with the axis as in Intersections in ...
4
votes
0answers
618 views
Drawing tri-axial ellipsoid and intersecting it with a sphere [closed]
I would like to draw a tri-axial ellipsoid (that is, an ellipsoid with three different main axes). I'd also like to draw a sphere in the same picture, showing the curves of intersection between the ...
7
votes
3answers
460 views
Bad intersection of lines in TikZ
Consider the following:
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[line width = 4]
\coordinate (a) at (0,0);
\coordinate (b) at (1,0);
\coordinate (c) at (1,1);
...


