I am trying to make a simple scatter plot but use subject ID numbers as the
plotting characters. I successfully used the matplot() command but the
length(pch) = 1 by default. This is problematic because the ID numbers
contain > 1 digit. I was also successful using plot() to draw the axes then
plotting the ID numbers as text but this runs fairly slowly. I know this is
easily accomplished using the GUI but I would like to avoid that solution,
if possible. I was wondering if it is possible to change the length of pch
and still use matplot()? If not, are there other approaches I could try?
Thanks in advance for your input.
Sincerely,
Steve Riley
|