How can I plot 5 different variable all together?

Hi, my variable all have this form:
A = [18, 20, 50, 60, ...]
They all have the same size 1x21 double and they are five.
How can I visualize in a plot all them together ?

 채택된 답변

KSSV
KSSV 2021년 10월 2일

0 개 추천

You can use plot, you will get 5 different curves and you can put legend for each.
Or you can plot them as surface using surf.

추가 답변 (0개)

카테고리

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

제품

릴리스

R2020b

질문:

2021년 10월 2일

답변:

2021년 10월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by