求教:SmoothDensityHistogram中的method方法失效了吗
mathematica吧
全部回复
仅看楼主
level 6
问题: Method->{"DistributionAxes" ->“SmoothHistogram”},该命令在SmoothDensityHistogram中不起作用了么?
如下代码,应当生成下图(其中之一)
data = RandomReal[BinormalDistribution[{-1, 2}, {1, 1}, .8], 1000];
GraphicsColumn[
Table[SmoothDensityHistogram[data, ColorFunction -> "DarkRainbow",
Method->{"DistributionAxes" -> p},
ImageSize -> 500, BaseStyle -> {FontFamily -> "Helvetica"},MeshFunctions->{#3&},Mesh->5,
LabelStyle -> Bold],
{p, {True, "SmoothHistogram", "BoxWhisker","Histogram"}}]]
恳请大佬解惑
2019年01月25日 10点01分 1
吧务
level 15
……SmoothDensityHistogram的文档里压根没给这种用法吧。DistributionAxes这选项是在DensityHistogram的文档里提的。
2019年03月02日 06点03分 3
1