The error message just means the compiler finds no variable with the name 'BreakoutValue'. So your declaration must be at a wrong place, like in a different function or at a place AFTER the plot command. If you declare a variable inside a function, its unknown outside that function.