How do you graph objective functions?

How do you graph objective functions?

See also  In roguelite city builder Against the Storm, failure is part of the process