I want to plot the eigenvalue trajectory when one of the system parameters is changed. I obtained a Matrix where each column represents the eigenvalues for a different value of K_q (check figure please). How can I proceed?

 채택된 답변

Image Analyst
Image Analyst 2018년 8월 23일

1 개 추천

You can use plot(). Just plot each marker one at a time with the proper color
markerColor = [....3 numbers ]; % Whatever color you want...
plot(x, y, '.', 'MarkerSize', 20, 'Color', markerColor);
hold on;

댓글 수: 2

Khaled Almunem
Khaled Almunem 2018년 8월 23일
It works! Thanks for the help! Really appreciate it. Do you know how to generate the bar next to the plot?
I got the bar also by using
if true
% code
end
colormap jet(500); c= colorbar;

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

제품

질문:

2018년 8월 23일

댓글:

2018년 8월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by