필터 지우기
필터 지우기

I am getting this message " Warning : Limiting legend entries to 50 .

조회 수: 15 (최근 30일)
imad dawood
imad dawood 2022년 9월 16일
답변: Walter Roberson 2022년 9월 16일
I am getting this message " Warning : Limiting legend entries to 50 .Specify a vector graphics objects to display more than 50 entries." when running a program with nesting for loop of 50*50 and a loop of plotting function of 50*22 what does mean and how can I get around it? – did not match any of the answers.

답변 (1개)

Walter Roberson
Walter Roberson 2022년 9월 16일
Each plot() line generates a separate graphic object regardless of whether you plotted one dot or a massive line.
You called legend without telling it which objects to create the legend for, but you have more than 50 graphics objects. You are asking to produce a separate legend entry for each. If I understand your question correctly, you have 55000 graphics objects, would require 55000 legend entries. You would have no room left for the plot itself.
I would suggest to you that so many legend entries is unreadable. You would have a tough time making that many lines distinct

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by