New in Wolfram
Mathematica
8: New and Improved Scientific and Information Visualization
◄
previous
|
next
►
Graphics & Visualization
Associate Regions with Discrete Points
Associate regions with points in
DiscretePlot
using a variety of named and parametrized extent sizes.
In[1]:=
X
sizes = Flatten[ Table[{Scaled[left], Scaled[right]}, {left, {0, 0.5}}, {right, {0, 0.25, 0.5}}], 1]~ Join~{Full, Left, Right};
In[2]:=
X
Grid[Partition[ Table[DiscretePlot[Sin[x] + x, {x, 10}, ExtentSize -> size, PlotLabel -> size, PlotMarkers -> "Filled", Frame -> True, FrameTicks -> None, PlotStyle -> ColorData["Rainbow", RandomReal[]]], {size, sizes}], 3]]
Out[2]=