I am trying to plot a matrix in three dimensions in App Designer using the surf plot function. The issue is the code works just fine on my computer but is not working on my boss's. I have a mac and am running version R2018a update 6 (and the plot works), the other computer is not a mac (but runs windows) and is running a pre-release version of R2018a (this is when it does not work). I should note that I also had a friend with a computer that runs windows who is also running R2018a update 6 try running the program and he experienced no issues. Below is the code:
4) app.UIAxes2.XLim = [-app.xlim app.xlim];
Line 1 was added as a test measure and on my computer this code graphs the plot correctly on the axis in app designer as it should via line 2 AND plots the graph in a separate figure window as it should via line 1. The other computer only displays the graph in the seperate figure window BUT NOT on the axis in the app. Has anyone had this problem with older versions of R2018a? Or have any other ideas as to what might be happening?