How to plot multiple curves in the same graph window?
古いコメントを表示
I want to plot graphs for multiple Kp values for a proportional controller. I tried using for loop to perform this. But I didn't get the output.Below, I attach the code which I have written for your reference. Please guide me on this. If you can tell me if there's any other way to do it, then that would be great.
Kindly reply asap.
Thank you.
5 件のコメント
KALYAN ACHARJYA
2020 年 3 月 15 日
編集済み: KALYAN ACHARJYA
2020 年 3 月 15 日
Can you share the code, use alt+Enter or attach as m file? Not screenshot?
Aishwarya Govekar
2020 年 3 月 15 日
Aishwarya Govekar
2020 年 3 月 15 日
dpb
2020 年 3 月 15 日
Just paste short demo code as text, use the code button to format ... much easier than having to download a file and open it externally.
For figures, SaveAs a .jpg and then attach the immage with the picture icon at the INSERT group.
I'll guess just from the words you didn't use "hold on" after the first plot to add subsequent to the same axes...
Aishwarya Govekar
2020 年 3 月 15 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Controller Creation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!