New in Wolfram
Mathematica
8: Statistical Visualization
◄
previous
|
next
►
Graphics & Visualization
Compare Several Datasets in a Single Plot
Compare several datasets to a single reference in a probability-probability plot.
In[1]:=
X
data1 = RandomVariate[NormalDistribution[2, 3], 30]; data2 = RandomVariate[StudentTDistribution[4, 2, 1], 30];
In[2]:=
X
ProbabilityPlot[{data1, data2}, AspectRatio -> 1, PlotStyle -> {Directive[PointSize[Large], ColorData[9, 2]], Directive[PointSize[Large], ColorData[9, 6]]}, ImageSize -> 550, BaseStyle -> {FontFamily -> "Helvetica"}, LabelStyle -> Bold]
Out[2]=