How to plot an overlay curve on the figure attached here.

3 ビュー (過去 30 日間)
Nisar Ahmed
Nisar Ahmed 2021 年 8 月 27 日
コメント済み: Nisar Ahmed 2021 年 9 月 1 日
The code for the attached/copied figure is
figure, p = pcolor(b,a,c); p.EdgeColor = 'none'; axis ij; ylim([500 2500]); colorbar; title('abc');
ylabel('Time (ms)'); colormap(jet); grid on
I want to plot a straight line or a curve between (showing relation) a vs. c at x axis where b = 6000. Suppose the curve a vs c has same dimension like the data plotted here as p = pcolor(b,a,c);. How can I plot here.


Kevin Holly
Kevin Holly 2021 年 8 月 27 日
hold on
then plot the graph.
  3 件のコメント
Nisar Ahmed
Nisar Ahmed 2021 年 9 月 1 日
@Kevin Holly Thanks,
I ploted first by using hold on and then by adding some distance on x axis. just like
hold on


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by