When you generate data to be plotted, a good rule is to generate fewer observations than
the number of positions on the horizontal axis. PROC PLOT then uses the increment of
the horizontal variable as the interval between tick marks.
Because PROC PLOT prints one character for each observation, using SAS program
statements to generate the data set for PROC PLOT can enhance the effectiveness of
continuous plots. For example, suppose that you want to generate data in order to plot
the following equation, for x ranging from 0 to 100:
y
=2.54+3.83
x
You can submit these statements:
options ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.