Help with program

Hi one of my codes got disapproved on the basis - 'undefined variable:model error' . This problem contains a graph which i plotted but is not being displayed correctly unless the axis properties are set to location 'origin'.Can someone explain what exactly is meant by model error and how we set the axis position to origin within the program itself?Thanks in advance.

Taxonomy upgrade extras: 

It would be better if you give the code if possible.