i can't find the mistake in the code
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Elia
am 25 Dez. 2013
Kommentiert: Image Analyst
am 25 Dez. 2013
i created a GUI to plot multiple functions between specified limits ,their are 2 axes in the figure . i have a problem by plotting the functions , when i write them and give their limits and press the plot button , one function appears on the axes that i want , but when i run the code another time from the editor , the two functions appear , why is that happening ? (the .m file is attached below).
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 25 Dez. 2013
10 Kommentare
Image Analyst
am 25 Dez. 2013
You didn't attach the fig file so we can't run it. Calling xlim in the openingfcn is evidently not doing the job. Call it again right after you put stuff into the axes to "correct" it to whatever you want.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!