Skip to main content
17 votes
Accepted

There's a nice 3D graph in the help file of the Plot3D function. How can I reproduce it?

When all else fails you can construct graphics explicitly using Show, Graphics3D and Plot3D: ...
kirma's user avatar
  • 19.1k
11 votes

Adding dots to an empty region of space

I feel this answer is as sensible as the question. First, binarise the image: m = Import["maz1.jpg"] bin = Opening[ColorNegate@Binarize[m], 6] Find the biggest ...
wxffles's user avatar
  • 14.3k
11 votes
Accepted

Why do some PlotThemes not work with Mesh as expected? What can be done about it?

Add the option PlotMarkers -> None: ...
kglr's user avatar
  • 399k
11 votes
Accepted

Circular shape of a 3D plots in mathematica

This is one possibly design of the 3D image of eigenfunctions on the disk: ...
Alex Trounev's user avatar
  • 46.3k
11 votes
Accepted

Highlight parts of two different curves

...
Bob Hanlon's user avatar
  • 160k
10 votes
Accepted

Making more appealing Plot3D

thanks for the interest. "I'm not sure if I'm allowed to do it" -> it's science, feel free to use it! The 3-D modelling was done in Mathematica and then exported as .stl (maybe this is not the ...
RSwonk's user avatar
  • 116
10 votes

How to increase dash length in DotDashed

Dotted, Dashed, and DotDashed all evaluate as they are shorthand for a full ...
rcollyer's user avatar
  • 34.1k
10 votes
Accepted

How to Wrap the Points of a 3D Clustering Plot?

...
OkkesDulgerci's user avatar
9 votes

How to Wrap the Points of a 3D Clustering Plot?

Yu could use BoundingRegion with the "FastEllipsoid" as second argument: ...
Henrik Schumacher's user avatar
9 votes

How to make callouts match the color of their target items?

n = 20; SeedRandom[77]; lbls = ResourceFunction["RandomString"][{n, 10}]; data = RandomReal[1, {n, 3}]; BubbleChart Use ...
kglr's user avatar
  • 399k
8 votes

PlotStyle Crosses needed

Using MeshFunctions->{"ArcLength"} to get equally spaced mesh points and post-processing Points to ...
kglr's user avatar
  • 399k
8 votes

Histogram Bar Line Thickness

You are looking to modify the EdgeForm of your ChartStyle, and this is shown in the documentation for ...
Jason B.'s user avatar
  • 69.2k
8 votes

Histogram Bar Line Thickness

The most direct and versatile way would be to generate your own chart elements. Fortunately, for rectangles this is quite easy: ...
MarcoB's user avatar
  • 67.5k
8 votes
Accepted

How to specify custom graph styles for GraphStyle?

If you are willing to mess around with the internals of Mathematica, I think the necessary graph style code is at top level. So: ...
Carl Woll's user avatar
  • 131k
8 votes
Accepted

Beautiful Temperature Map

If the built-in color schemes here are not good for you, you can write your own. See for example a scheme that I often use: ...
Fraccalo's user avatar
  • 6,097
8 votes

How can I make a plot like this in Mathematica?

Modify, style and label as needed: ...
David G. Stork's user avatar
8 votes
Accepted

Is it possible to specify the size of the length and width of a plot separately?

With AspectRatio->Full, you can use a ImageSize setting of the form ...
Lukas Lang's user avatar
  • 34.2k
8 votes
Accepted

How to get matplotlib-type ticks?

...
kglr's user avatar
  • 399k
7 votes
Accepted

Conditional styling of contour

...
kglr's user avatar
  • 399k
7 votes

Italic fonts for plots like those appear in scientific papers

Joining the answer by José and a comment by egwene: ...
corey979's user avatar
  • 24k
7 votes
Accepted

How to draw 3D scatter plot with sizes of points reflecting value?

The easiest way is to use BubbleChart3D: BubbleChart3D[{pts1, pts2}] If you have to use ...
kglr's user avatar
  • 399k
7 votes
Accepted

"Exporting" Plot Theme "Classic"

The "Classic" theme for Plot3D colors the surface white and uses custom lighting. It can be recreated with these options: ...
Greg Hurst's user avatar
  • 36.4k
7 votes

Drawing evenly spaced arrows and opaque sheet between curves?

Here is your general curve: f[t_, s_] := {Cos[t + s], Sin[t + s], t}; f[t_] := f[t, 0]; Define points for arrows: ...
Vitaliy Kaurov's user avatar
7 votes
Accepted

Opacity gradient in custom legend

"to have the blueish edge faded and the redish solid:: You can use a list of colors with desired opacities as option value for "ColorScheme". For ...
kglr's user avatar
  • 399k
7 votes

How can I ask Mathematica to repeat a part of the given plot over the domain?

You can use Mod: ...
flinty's user avatar
  • 25.6k
7 votes
Accepted

DensityPlot3D with clear division negative/positive value but also value dependent

When posting a question, provide a concrete example and the code used to demonstrate the issue. One approach to clearly delineate the boundary is to use ...
Bob Hanlon's user avatar
  • 160k
7 votes

Axis Label 3D plot

...
Bob Hanlon's user avatar
  • 160k
7 votes

Custom scaling of x-axis in ListLogPlot

It is actually pretty easy if you know exactly what properties of graphics you need to prioritize. Options are pretty flexible. A few approaches. APPROACH 1: arbitrary smooth X-scaling People were ...
Vitaliy Kaurov's user avatar
7 votes
Accepted

How to make the same color scale range for all plots?

Perhaps something like this? You just need to define the ColorFunction and set ColorFunctionScaling to ...
ydd's user avatar
  • 4,572
7 votes

Plotting Phase Portrait of Duffing Equation

Using ParametricNDSolve with {a,b} be the initial point. We solve {U,U'} simultaneously( see ...
cvgmt's user avatar
  • 77.8k

Only top scored, non community-wiki answers of a minimum length are eligible