Question: plotting array over range larger than array

Hi, I'm running into difficulty regarding plotting an array I have.  I have an array of 500 elements and each element corresponds to an even integer.  Hence I want to plot for x=1..1000 where array[1] is plotted at x=2, array[2] is plotted at x=4 etc, and the odd numbers are left empty.  How do I do this.  I tried

fn := proc(n)
  global array:
  if n mod 2 = 0 then return array[n/2]:
  end if:
end proc:

But I got an error about passing wrong parameters into plot().  This should be relatively simple.  Any ideas?

Please Wait...