Does anybody know how to plot this figure?

3 ビュー (過去 30 日間)
Khaled Almunem
Khaled Almunem 2018 年 8 月 23 日
コメント済み: Khaled Almunem 2018 年 8 月 23 日
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 日
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?
Khaled Almunem
Khaled Almunem 2018 年 8 月 23 日
I got the bar also by using
if true
% code
end
colormap jet(500); c= colorbar;

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by