当将直方图的图形范围从自动更改为超过自动计算的图形范围时,Mathematica会绘制一条不需要的水平线,我无法摆脱它(请参见值为-4的右侧直方图)。有人对此问题有建议吗?
我正在Mac OS 10.7.2上运行Mathematica V.8.0.1.0。
In[1099]:=
data = {-1.2056, -1.46192, -1.30053, -2.52879, -0.99636, -1.73904, -1.164,
-1.83398,-0.97505, -0.503256, -0.63802, -0.785963, -0.711821, -0.820439, -1.8699,
-3.9659, -1.4456, -1.67021, -1.42009, -2.5644, -1.45002, -1.27806, -1.66529,
-1.67073, -3.31102, -3.38638};
HistogramLeft=Histogram[data, PlotRange -> Automatic]
HistogramRight=Histogram[data, PlotRange -> {-8, 0}]