## Gallery - Scatter plots | Welcome Gallery Handbook |
| Manual page for Gallery_-_Scatter_plots(PL)

This page contains a series of scatterplot examples illustrating the available varieties and options. These examples all use ploticus's proc scatterplot.

#
The scat1 prefab

scat1 prefab
The scat1 prefab is the easiest way to create basic scatterplots without writing any script code.

#
Example 1

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 1a

scatterplot10
Correlation scatterplot showing regression line and error bars on the points.

#
Example 2

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 3

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 3a

scatterplot3a
The size of point symbols may be driven by a data field, allowing display of a 3rd variable.

#
Example 4

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 5

qual
An example showing scores over time. Case identifiers are shown at bottom using a second invocation of proc scatterplot.

#
Example 6

scatterplot5
An example where data text is shown instead of a point symbol. This may be useful in identifying outlier cases.

#
Example 7

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 8

multiscat
A full-page example showing an array of scatterplots.

#
Example 9

errbar1
In this example, proc scatterplot was used to render the point symbols, and then the error bars were added using proc bars.

#
Example 10

scatterplot7
Another full-page example showing multiple scatterplots.
data display engine
Copyright Steve Grubb

Markup created by unroff 1.0, `` `` September 11, 2001.