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.


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

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


scatterplot3a

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



Example 6 - 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 7 - script


qual

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



Example 8 - script


scatterplot5

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



Example 9 - 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 10 - script


multiscat

A full-page example showing an array of scatterplots.



Example 11 - 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 12 - script


scatterplot7

Another full-page example showing multiple scatterplots.


data display engine  
Copyright Steve Grubb


Markup created by unroff 1.0,    September 14, 2001.