So, it sounds like you need to write out an analytical expression for what you just described. Then graph it ;-)