Plot variable in GUI

1 次查看(过去 30 天)
Rodrigo Trigona
Rodrigo Trigona 2012-9-29
What function Do I need to use to plot a variable on the screen of my GUI? I can plot it on the edit text?

回答(1 个)

Image Analyst
Image Analyst 2012-9-29
No. Edit text can take only text. You need to plot things in an axes control. You can either place one on your GUI with GUIDE, or you can create one with subplot (to make a small axes, or several of them, at a particular position), or one will be created for you automatically when you call a function that plots, like plot(), bar(), pie(), plotyy(), semilogy(), etc.

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by