For questions about calculating intersections using {tikz-pgf} or {pgfplots}, including PGF's `intersections` library.

learn more… | top users | synonyms

5
votes
1answer
1k 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
1k 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 ...
9
votes
2answers
2k 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
482 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 ...
6
votes
1answer
391 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 ...
12
votes
1answer
1k 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 ...
4
votes
0answers
762 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
584 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); ...