For questions about calculating intersections using {tikz-pgf} or {pgfplots}, including PGF's `intersections` library.
7
votes
1answer
722 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 ...
10
votes
2answers
961 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}
...
6
votes
1answer
280 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
820 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
3answers
463 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);
...
4
votes
1answer
348 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 ...
11
votes
1answer
253 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 ...
10
votes
2answers
694 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 ...
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) -- ...
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 ...
14
votes
1answer
562 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 ...
5
votes
1answer
827 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 ...