New in Wolfram
Mathematica
8: Visualización estadística
◄
previous
|
next
►
Gráficos y visualización
Histograma con escala logarítmica
La distribución de grado de vértice para
PriceGraphDistribution
es de cola pesada. Usar escalas logarítmicas para los ejes hace que el histograma sea más fácil de leer.
In[1]:=
X
g = RandomGraph[PriceGraphDistribution[10^3, 2, 1]];
In[2]:=
X
data = VertexDegree[g];
In[3]:=
X
Histogram[data, ScalingFunctions -> {"Log", "Log"}, Frame -> True, ColorFunction -> "StarryNightColors", AspectRatio -> 1, ImageSize -> 550, LabelStyle -> Bold, PlotLabel -> "Vertex Degrees for a 1000-Vertex de Solla Price Graph", BaseStyle -> {FontFamily -> "Helvetica"}]
Out[3]=