Questions tagged [line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
4answers
115 views

Line integral over a rectangular path

I have a little problem. I need to calculate an line integral of a function on a rectangular oriented closed path. For example I define f[x_,y_]:= x-2y and the ...
0
votes
1answer
65 views

How to graph a discontinuous array of data

I have an array of data, I am trying to plot it but I need to draw a line each 10 data and displayed as a discontinuous function. I tried using ListLinePlot but ...
0
votes
1answer
58 views

How to combine MeshCellLabel with Placed?

I would like to draw a line between two points and place a label "label" at its center, above the line. It would be also useful if this label remain parallel to the line when rotating the ...
1
vote
1answer
51 views

How to put a label above a point of a line?

My intention is to put a line to points {0,0,0}, {0,0,1}, and {0,0,2} and make a label "...
11
votes
8answers
1k views

Checking if two line segments intersect

What is the fastest way of checking whether two line segments of the form Line[{p1,p2}] intersect at a point? I don't need to know what the point of intersection is,...
5
votes
2answers
174 views

Lines connecting corresponding points on aligned plots

I would like to make a compound figure comprising three plots. At the upper-right is the "main" plot, showing the trajectory of a point with given $x$ and $y$ coordinates, marked for ...