Info

此问题已关闭。 请重新打开它进行编辑或回答。

I need help with my legend

2 次查看(过去 30 天)
Kelsey Pettrone
Kelsey Pettrone 2020-11-16
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Star Strider
Star Strider 2020-11-16
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?

回答(0 个)

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by