plot n^2 and n*log n and n where n from 0 to 1000