Problem Plotting with Log Scale in GUI
Show older comments
I have a GUI with axes. I can browse for a .mat file and then, with a button called "semilog plot", I want to plot the two variables contained in that .mat file on the axes. The problem is that when I click the button, the axes have the wrong scale and no curve appears. I can execute the same semilogy command in the command window and get a perfect plot, but for some reason, the command will not plot the data in the GUI axes. The only thing that I can think of besides there being a problem with the GUI recognizing the scale is that my dependent variable is a lowercase "i" and I get a warning as follows:

My code is as follows:

I greatly appreciate any help.
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!