Skip to main content
Became Hot Network Question
Tweeted twitter.com/StackMma/status/1148698450508341248
fixed typos
Source Link
MelaGo
  • 9.1k
  • 1
  • 11
  • 26

Extracing Extracting points from 3D plot that lie along an arbitralyarbitrarily oriented line

Starting from i.e. the following 3d plot:

d = RandomReal[1, {100, 3}];
ListPlot3D[d]

Is it possible to extract points that lay along an arbitralyarbitrarily oriented line, i.e. like this:

Show[{ListPlot3D[d], Graphics3D[Line[{{0, -.5, 1}, {0.5, 1, 1}}]]}]

?

EDIT: Z values of the plot along the line projected onto the x-y plane

Extracing points from 3D plot that lie along an arbitraly oriented line

Starting from i.e. the following 3d plot:

d = RandomReal[1, {100, 3}];
ListPlot3D[d]

Is it possible to extract points that lay along an arbitraly oriented line, i.e. like this:

Show[{ListPlot3D[d], Graphics3D[Line[{{0, -.5, 1}, {0.5, 1, 1}}]]}]

?

EDIT: Z values of the plot along the line projected onto the x-y plane

Extracting points from 3D plot that lie along an arbitrarily oriented line

Starting from i.e. the following 3d plot:

d = RandomReal[1, {100, 3}];
ListPlot3D[d]

Is it possible to extract points that lay along an arbitrarily oriented line, i.e. like this:

Show[{ListPlot3D[d], Graphics3D[Line[{{0, -.5, 1}, {0.5, 1, 1}}]]}]

?

EDIT: Z values of the plot along the line projected onto the x-y plane

added 74 characters in body
Source Link
ATomek
  • 361
  • 2
  • 9

Starting from i.e. the following 3d plot:

d = RandomReal[1, {100, 3}];
ListPlot3D[d]

Is it possible to extract points that lay along an arbitraly oriented line, i.e. like this:

Show[{ListPlot3D[d], Graphics3D[Line[{{0, -.5, 1}, {0.5, 1, 1}}]]}]

?

EDIT: Z values of the plot along the line projected onto the x-y plane

Starting from i.e. the following 3d plot:

d = RandomReal[1, {100, 3}];
ListPlot3D[d]

Is it possible to extract points that lay along an arbitraly oriented line, i.e. like this:

Show[{ListPlot3D[d], Graphics3D[Line[{{0, -.5, 1}, {0.5, 1, 1}}]]}]

?

Starting from i.e. the following 3d plot:

d = RandomReal[1, {100, 3}];
ListPlot3D[d]

Is it possible to extract points that lay along an arbitraly oriented line, i.e. like this:

Show[{ListPlot3D[d], Graphics3D[Line[{{0, -.5, 1}, {0.5, 1, 1}}]]}]

?

EDIT: Z values of the plot along the line projected onto the x-y plane

Source Link
ATomek
  • 361
  • 2
  • 9

Extracing points from 3D plot that lie along an arbitraly oriented line

Starting from i.e. the following 3d plot:

d = RandomReal[1, {100, 3}];
ListPlot3D[d]

Is it possible to extract points that lay along an arbitraly oriented line, i.e. like this:

Show[{ListPlot3D[d], Graphics3D[Line[{{0, -.5, 1}, {0.5, 1, 1}}]]}]

?