how to skip plot in the legend when the number of plots is variable

Hi guys,
i have a code that plots several signals in one figure. The number of signals depends on a input and is variable. There is one Signal that's always there, independently from the input. I dont want it to show in the legend. Is there a 'skip legend for this one' command? I have googled it but cannot find anything helpful.

1 Comment

Could you please share the code you are using for plotting the signals? Thanks

Sign in to comment.

Tags

Asked:

on 28 Jul 2020

Answered:

on 28 Jul 2020

Community Treasure Hunt

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

Start Hunting!