MATLAB AppDesigner | Tutorial 9 | Plotting a graph using axes

preview_player
Показать описание
☑️ In this video:
0:06 Introduction
0:14 Starting the app development adding axes
1:18 Call back function for plotting graph y = sin(x)
2:55 Completed up
3:13 Changing plot appearance
3:48 What's in the next tutorial?

▶️ If you are finding my videos helpful please leave a like and subscribe to my channel.

⏭️ In the upcoming videos I'll teach how to use all the components in components library and how to connect AppDesigner to Simulink.

✉️ Get in touch:
If you do need some one to one support, feel free to drop an email via my contact page on my website. I will try my best to get back to you.

Thanks for watching everyone!
Рекомендации по теме
Комментарии
Автор

Thanks for the videos, I think there was a tiny mistake in using the plot function.. I think the right way of using it is this:

function PlotButtonPushed(app, event)
x = 0:0.01:2*pi;
y = sin(x);
plot(app.UIAxes, x, y)
end

AmeenAlfiza
Автор

Hi Benito,
Thanks for your tutorial. I have question, on your plot the x-axis does not exactly represent from 0 to 2xpi, does it? E.g., the value 1 on the y-axis does not show 90 degree value on the x-axis. Can you explain? Thank you

dioutoroo
Автор

Hello, Do you know how to load or open a .fig file in a axes?

mianzhou
Автор

Hello I want to make an ellipsoid in appdesigner can you give me some advices ?

kysayki
Автор

Hello
Can we somehow display the calculated plot without hitting a button?

autumn_
Автор

Hello! I keep getting an error when I try to run this app. the "plot(app.UIAxes, y)" line keeps gettin the error: 'Too many input arguments'. I even went to the mathworks website and copied and pasted their exact syntax for plotting in app designer and got the same error...how is this so??

officialbenjamink
Автор

Can I plot more than one graph in the Same axes using the same push button?
Please help

prithvianilkumar
Автор

Hi Benito,

I'm looking to run a graph plotting function from a separate .m file when a button is pressed in my app. I've figured out how to launch the .m file once the button is pressed but i'm a bit stuck on how to plot the graph from my function on the axes in the app itself.

Would you be able to point me in the right direction for where to start with this?


Thanks in advance!

SJPDominicans
Автор

how can I use complex numbers as input for the complex calculations

vinaykvk
Автор

Thx for the video i need help, i want use ginput on plot in app designer but i can't .Can you suggest me something?

amadousow
Автор

Hello, I am wondering if it is possible to show the data from a scope from a simulink model into the axes in app designer ?

CumbrianGrizzler
Автор

how to show many functions in the same axes? greetings!!

javiseco
Автор

Hello sir, I'm seeing your videos and these are quite useful. I have a different question. How can we add a refresh button in the app, so that if it is used to select a data file, and the file gets updated then It has the recent values? Can you please suggest any idea?

AjeetKumar-ocsb
Автор

Is there a way to change the bounds of the plot? I don't want it to autofit the function because I can't get a clear view of the entirety of the signal (despite it being autofitted!). I've tried the xlim and ylim functions, but that just pulls up another figure outside of the GUI with the specified bounds.

MrSocialish
Автор

Great video! How can I animate the plot in the app designer UIAxes?

Pranavshashi
Автор

use plot(app.UIAxes, x, y); instead ... just putting plot(app.UIAxes, y); screws it up

TylerMatthewHarris
Автор

Thanks a lot for your vid. Maybe your x-axis is not correct (0~2pi other than 0~1).

fenghc
Автор

Hi Benito, Thank you for these rich videos. I have sent you a e-mail, because I've difficulties in building an app, it gives me an error while running.

toyayaone