How to plot subset using editfield in app designer

2 visualizaciones (últimos 30 días)
義典 鈴木
義典 鈴木 el 16 de Dic. de 2021
Respondida: Geoff Hayes el 17 de Dic. de 2021
For example, I have a set of L,a,b as below.
L =[10,5,5,7,5,4]
a =[2,3,6,3,6,9]
b =[1,5,6,7,5,4]
I want to use editfield in app designer. If I write L=5 in the editfield, only the data that satisfy the number 5 will be plotted. But, if you have any idea other than editfield, I would like to know your idea. Thank you

Respuestas (1)

Geoff Hayes
Geoff Hayes el 17 de Dic. de 2021
@義典 鈴木 - if you only have a small set of variables to choose from (i.e. 'L', 'a', and 'b') then consider using a radio button group instead...so that instead of typing in a character, the user selects the appropriate radio button.

Categorías

Más información sobre Directed Graphs en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by