I sampled a small wikipedia collection from 2008 and trying generate a graph similar to this: <http://en.wikipedia.org/wiki/File:Wikipedia-n-zipf.png> 
from the processing I did. I have word frequencies and ranks of words. How can I generate the graph on the fly from the data I collected? Thanks.