Slider Controls X axis on Graph

4 次查看(过去 30 天)
T.A.S.
T.A.S. 2018-6-18
评论: T.A.S. 2018-6-19
I am trying to get the slider in app designer to control the x axis of the graph but I don't understand how to write the code for the call back.

回答(1 个)

Ameer Hamza
Ameer Hamza 2018-6-18
You need to add valueChaningFcn callback. See the attached sample to see how to use the slider to control axes in App designer.
  1 个评论
T.A.S.
T.A.S. 2018-6-19
This is what I'm trying to do but this just gives me the UI Figure and I need the file to be able to see the code view.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by