MATLAB: How to use the variable at plot function

guiplotvariable

Hello. I am new at GUI and getting confused. I have some push buttons and put the data by inputdlg. I need to use all these data for plotting a graph. When I call my variables at plot function, they are undefined. Would you please help me?Thanks in advance.