Update Legend with varying values (variables) part2
3 views (last 30 days)
Nikhil Sonavane on 14 Jul 2020
As Walter suggested, your legend command should be in a loop to recurrsively update the legend in your figure. Variable Tpc_22 appears in the loop but only its last value is considered by the legend command while including legend in your figure. I would suggest you to use the legend command in the loop as well.