0
$\begingroup$

I have generated a three-dimensional probability distribution function (PDF) and I would like to place a series of these PDFs at certain coordinates on a cuboid. I've rasterized the PDF so it is a 3D pixelated object. The easiest way I can think of to to place the PDF on the cuboid is use ListPointPlot3D and use pointmarkers set to my PDF. It appears that I need to convert the three dimensional PDF into a Graphics3D primitive. Does anyone have any suggestions on how to do this? Thanks.

For Example:

PDFcoords = {{0, 0, 300}, {-2*978, -2*978, 300}, {2*978, 2*978, 
   300}, {2*978, -2*978, 300}, {-2*978, 2*978, 300}}; PDFcubPlot = 
 ListPointPlot3D[PDFcoords];
Cube = Graphics3D[Cuboid[{-2100, -2100, 0}, {2100, 2100, 300}]];
Sphere1 = Graphics3D[Sphere[{0, 0, 300}, 90]];
Sphere2 = Graphics3D[Sphere[{-2*978, -2*978, 300}, 90]];
Sphere3 = Graphics3D[Sphere[{2*978, 2*978, 300}, 90]];
Sphere4 = Graphics3D[Sphere[{2*978, -2*978, 300}, 90]];
Sphere5 = Graphics3D[Sphere[{-2*978, 2*978, 300}, 90]];
Show[Sphere1, Sphere2, Sphere3, Sphere4, Sphere5, PDFcubPlot, Cube]

However, instead of spheres, I want to create my own primitive graphic that I can place on the cuboid.

$\endgroup$
6
  • $\begingroup$ Some code to start from would be helpful. $\endgroup$ Commented Dec 19, 2013 at 19:46
  • $\begingroup$ some of this might be useful mathematica.stackexchange.com/questions/38925/… $\endgroup$ Commented Dec 19, 2013 at 20:04
  • $\begingroup$ @VitaliyKaurov - I edited the question by adding some example code. Thanks! $\endgroup$ Commented Dec 19, 2013 at 20:26
  • $\begingroup$ But where is "probability distribution function" ? $\endgroup$ Commented Dec 19, 2013 at 20:33
  • 1
    $\begingroup$ Also see An efficient circular arc primitive for Graphics3D and Extruding along a path for examples of creating new tubular 3D primitives. $\endgroup$ Commented Dec 20, 2013 at 11:04

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.