2
$\begingroup$

Why Mathematica surface plot is showing gray color in the lower region on the surface plot. But when I cross-checked with Matlab it is not showing any thing like that. I used ListPlot3D[data1, AxesLabel -> {"k1","k2","L"}] function for plotting the surface plot in mathematica.

difference in mathematica and matlab

$\endgroup$
8
  • 2
    $\begingroup$ The system is automatically choosing a plot range (the spread in the z axis), but here is not doing a great job. Try adding the option PlotRange -> All to your plot command. $\endgroup$
    – Jason B.
    Commented Jan 30, 2020 at 18:18
  • 2
    $\begingroup$ Try PlotRange -> All or ClippingStyle -> None. They give different results. You probably want the first. The second suggestion might help you understand what's going on. $\endgroup$
    – Michael E2
    Commented Jan 30, 2020 at 18:18
  • $\begingroup$ Use an explicit PlotRange or PlotRange->All in Mathematica. The "L" axis in Mathematica only goes down to around 5.3 whereas the Matlab goes down much farther. The bigger question is what kind of color scheme does Matlab use? $\endgroup$
    – JimB
    Commented Jan 30, 2020 at 18:19
  • 6
    $\begingroup$ @JimB : I believe that Matlab scheme is called "Hideous"... $\endgroup$
    – ciao
    Commented Jan 30, 2020 at 18:20
  • 1
    $\begingroup$ @J.M. Sorry, but this is the first time I think you're wrong. ciao is clearly correct. $\endgroup$
    – JimB
    Commented Jan 31, 2020 at 0:04

0

Browse other questions tagged or ask your own question.