Sigh. Can anyone help me with getting Filling to work properly. I'm currently trying to fill part of a line plot to the Y-axis, so I constructed three curves along this range and tried to fill between pairs. Here's my attempt:
@b3m2a1 It will work as you expect if you sort the third data series by the x value: SortBy[{{59, 19.5}, {50, 20.5}, {21, 21.5}, {10, 22.5}, {4, 23.5}, {0, 23.5}}, First]
Graphics3D[KnotData["Trefoil", "ImageData"], Axes -> True] is there a good way to center this trefoil around (0,0,0)?
Or, what I really want is for it to not wobble when it rotates: gr = KnotData["Trefoil", "ImageData"] ; rotAbout = {0, 0, 1}; Manipulate[rot = RotationMatrix[a, rotAbout]; Graphics3D[{Specularity[GrayLevel[1], 100], GeometricTransformation[gr, rot]}, Boxed -> False, Lighting -> "Neutral", SphericalRegion -> True, Background -> Black], {a, 0, 2 Pi, .3}]
@idonutunderstand I'm not entirely sure why they would have such a weird shift in the coordinates when you access "ImageData" of the knot-data. When you use the parametric form directly, it is centered perfectly:
This morning, representatives of more than 100 countries agreed on a new definition of the base units for all weights and measures. Here’s a picture of the event that I took this morning at the Palais des Congrès in Versailles (down the street from the Château): An important vote for the future weights and measures [...]
Note that there's currently no way to represent a collection of 3D Voronoi mesh cells in a MeshRegion or BoundaryMeshRegion.
Here's a routine that takes the dual of the DelaunayMesh and returns an Association where the keys are the points and the values are their respective Voronoi cells.
pad[δ...