Info

This question is closed. Reopen it to edit or answer.

Listbox plotting with several choices (300 choices)

1 view (last 30 days)
Zia
Zia on 12 Jul 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello I have a list box with 300 choices for plotting. I use the switch between cases option for the listbox having few choices (up to five). How can I handle my codition with 300 choices. I look for a better approach.
Please help me with this.
" select among 300 choices in a list box to plot the data"

Answers (1)

Image Analyst
Image Analyst on 12 Jul 2014
Not sure I understand. So you have a listbox with 300 items in it that the user can select. Are you saying that if the user selects one of the first 60 items, then you do one kind of plot, and if the user selected one of items 61 - 120 you do another kind of plot, and if the user selected one of items 121 - 180 you do another kind of plot, and so on?

Community Treasure Hunt

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

Start Hunting!