回答済み Remove specific items from legended
yeah, check this out:
<https://www.mathworks.com/matlabcentral/answers/406-how-do-i-skip-items-in-a-legend Link>
回答済み Plot and bar graphs with independent axis
Here's a trick for doing precisely what you are looking for, run the example:
data1 = randi([0,100],100,1); %for plot()
...