plotting 2 graphs on the same axes

16 ビュー (過去 30 日間)
Anika Lee
Anika Lee 2020 年 10 月 21 日
回答済み: KSSV 2020 年 10 月 21 日
I have to plot an x-y equation and also a data set of x,y coordinates on the same axes, but i cant figure out how to have them on the same graph. Help!

採用された回答

Star Strider
Star Strider 2020 年 10 月 21 日
Use the hold function.

その他の回答 (1 件)

KSSV
KSSV 2020 年 10 月 21 日
Read about hold on.
plot(rand(1,10))
hold on
plot(rand(1,10))

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by