Drawing a plot for polynomial roots

I have y(x) = x^5 – x – 2 function and I need to find it's polynomial roots.

y = [1 0 0 0 -1 -2];
r = roots(y)
r =

 1.2672 +      0i
 0.2610 + 1.1772i
 0.2610 - 1.1772i
-0.8945 + 0.5341i
-0.8945 - 0.5341i

XX = 0:0.2:3;

But when I try to draw a plot I get an error

plot(r, XX);
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum