Drawing with a slider control in matlab GUI

2 ビュー (過去 30 日間)
David Ponce
David Ponce 2018 年 11 月 26 日
回答済み: Lars 2024 年 3 月 7 日
Hello everyone, this is my problem , I'm trying to create a user interface in which you can paint a circle from the center to your radio depending on its angle through a slider control, I did something similar in VS but I'm dabbling in matlab and I have some problems. any answer would be very supportive, thank you very much.
a.PNG e.png
  3 件のコメント
David Ponce
David Ponce 2018 年 11 月 26 日
Sorry, I will try to explain better: the slider control will have values from 0 to 360 degrees and the circle will be filled according to the angles established in the slider, for example in the image I put the value of Θ = 100 degrees with the slider and the circle is filled. I hope that I have explained myself better and thank you very much for your response .
Jan
Jan 2018 年 11 月 27 日
Waht exactly is the problem? The creation of the GUI, the definition of the callback or the code to draw the object? If you post, what you have tried so far, we can fill in the details.

サインインしてコメントする。

回答 (1 件)

Lars
Lars 2024 年 3 月 7 日
j

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by