Info
This question is closed. Reopen it to edit or answer.
I need help with my legend
1 view (last 30 days)
Show older comments
I dont know whats wrong with this. Its not working. Im trying to get the 2 user inputs in the legend.
legend(app.Axes2,[userinput +' '+['Obesity','Drug','Alcohol','Smoking']],[userinput2,+' '['obesity','drug','alcohol','smoking']])
2 Comments
Star Strider
on 16 Nov 2020
What result do you want?
What information is in the plot?
What are the ‘userinput’ variables, and what do you want the legend (and plot) to look like?
Adam Danz
on 16 Nov 2020
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!