I am trying to set up a .jpg file to graph the earnings per year of a company. I can
generate a log-normal graph, can get it to display the earnings per year as circles on
the graph, but I can't get the " if () " statement to work. I know I am setting two
of the variables in the if statement after the if statement executes once, but these
variables won't be used until after the " for () " loops once, and therefore should be
available for use in " imageline() " on the second loop (where $year>$startyear).
Somehow, I think my logic is correct but it mustn't be so.