New answers tagged

0 votes

How to plot 3D spherical graph using x y data?

You could proceed as follows: -Interpolate the data (delete the last element of T as Syed noted) -Define a piecewise function that returns 0 for radius > data range -Use DensityPlot3D with a region ...
user avatar
  • 24.3k
1 vote

Fill in the hollow Spheres - generate solid spheres

Version 13 introduced CSGRegion as an alternative for operations such as RegionDifference. Is that useful for your application? ...
user avatar
  • 1,110
3 votes
Accepted

How to fix vertexnormals to eliminate a little shadow on the sphere?

Use {θ, Subdivide[0.0001, Pi - 0.0001, 51]} instead of {θ, 0., Pi, Pi/50} to avoid the singularities in spherical coordinates. ...
user avatar
  • 213k
6 votes
Accepted

Lighting a ListPlot3D with a Texture

Use Lighting -> "Neutral" as a styling directive in PlotStyle: ...
user avatar
  • 349k
4 votes

Lighting a ListPlot3D with a Texture

EDIT Using ListPlot3D: So I modified the texture that was a purple sheet mostly. ...
user avatar
  • 14.9k
12 votes

How can I generate a Swiss-Cheese type region and render it transparent?

...
user avatar
  • 30.6k
6 votes

How can I generate a Swiss-Cheese type region and render it transparent?

One way: Show[BoundaryDiscretizeRegion[cheese, MaxCellMeasure -> 0.001]] /. FaceForm[Directive[d__]] :> FaceForm[Directive[d, Opacity[0.5]]] Another way: <...
user avatar
  • 213k
5 votes
Accepted

Truncated pyramid in Mathematica

Arbitrarily assuming two heights: ...
user avatar
  • 14.9k
2 votes

How to make a gif of a rotating 3D graph?

If you want to export the result to a GIF, the problem is that the resource function ExportRotatingGIF has the limitation that the rotation has to be around one of ...
user avatar
  • 1,403
3 votes

How to make a gif of a rotating 3D graph?

Just apply Show: ...
user avatar
  • 13.2k
8 votes

How to make a gif of a rotating 3D graph?

One option is ExportRotatingGIF And the standalone gif example.gif created in the same folder as the notebook looks like this: code ...
user avatar
  • 108k
1 vote

How can I outline my figures?

Here are two things to add/adjust: FillingStyle PointSize Since you're plotting points, not lines, Thickness/Thick and Dashing/Dashed won't have an effect. Try this for the PlotStyle: ...
user avatar
  • 3,792
1 vote

Why ClipPlane show a hollow object for a filled object?

I think this is a better way to generate Wigner-Seitz Cell. ...
user avatar
  • 13.4k
1 vote

How to import a file with 3 columns of numerical data and visualize it with ListPointPlot3D?

Try using Import["/PATH/file.txt", "Table"]; This will convert each data point into a 2-D list. From, there you can easily plot any column with ...
user avatar
  • 393

Top 50 recent answers are included