|
Manual page for Gallery_-_Scatterplots(PL)
This page contains a series of scatterplot examples
illustrating the available varieties and options.
These examples all use ploticus's
proc scatterplot.
Clickmaps are supported for scatterplots.
Example 1 - scat prefab
scat prefab
The
scat prefab
is the easiest way to create basic scatterplots without
writing any script code.
Example 2 - script
scatterplot1
This example shows the correlation between two variables.
The 1-D distribution for each variable is shown along each axis.
Duplicate data points are offset slightly (the cluster
option) to show duplicity.
Example 3 - script
scatterplot10
Correlation scatterplot showing regression line and error bars on the points.
Example 4 - script
colorgrid
This example demonstrates several new features. The colors of the data points
are controlled from the data, using the legend-driven
technique. Also, the data points are mapped using a
clickmap.. try clicking on any data point above. In this example the colors
are mapped directly to data values, but it is also possible to have
proc scatterplot count instances and determine
the colors from the count.
Example 5 - script
scatterplot8
This illustrates how multiple points can be displayed using the clustering option.
Size, color, "transparency", and shape of the points are all user-controllable, as is
the distance of clustering.
Example 6 - script
snpmap1
An alternative way of clustering points is to string them upward to form little
bars, as in this example. This is a convenient way to show multi-tiered
frequency distributions. The multiple colors are achieved by overlaying
several subgroups of data of diminishing size.
Example 7 - script
scatterplot3
Points may be marked with a variety of geometric symbols and characters/text,
in a variety of colors. Point symbols may be solid (filled) or transparent
(not filled).
Example 8
scatterplot3a
The size of point symbols may be driven by a data field, allowing display of
a 3rd variable.
Example 9 - script
scatterplot4
This example demonstrates how points that are outside of the defined plotting
area are omitted. Here, the points are not filled with color,
making them appear to be transparent.
Example 10 - script
qual
An example showing scores over time. Case identifiers are shown
at bottom using a second invocation of proc scatterplot.
(This technique might be distracting because it resembles a musical score.)
Example 11 - script
scatterplot5
An example where data text is shown instead of a point symbol.
This may be useful in identifying outlier cases.
Example 12 - script
scatterplot6
A 1-D scatterplot showing instances over time. Instances are denoted by
lines in the top panel, and by names in the bottom panel.
1-D distributions usually work better for scattered data points; when there is
significant duplication a histogram (bar graph) is more effective.
Example 13 - script
multiscat
A full-page example showing an array of scatterplots.
Example 14 - script
errbar1
In this example, proc scatterplot was used to render the point
symbols, and then the error bars were added using proc bars.
Example 15 - script
scatterplot7
Another full-page example showing multiple scatterplots.
|
 data display engine
Copyright Steve Grubb
|