I want to make a GUI in which only those functions run whose radio button is on, but how to make it?
1 ビュー (過去 30 日間)
回答 (1 件)
Yongjian Feng 2021 年 12 月 3 日
編集済み: Yongjian Feng 2021 年 12 月 3 日
Radio buttons or checkboxes?
You can have a figure with multiple plots. Say if you have 10 checkboxes, then put 10 plots in the figure. All XData and YData set to empty, then none of them will be shown.
Once the user selects the checkbox/radio button, then you update the XData and YData of the corresponding plot to the data from the corresponding equation.