How to plot 2d graph with various variables?
조회 수: 4 (최근 30일)
이전 댓글 표시

Hey, ı have variables fitting for my project. I just want to graph something like that. What is this type of graph and what are the commands for it?
Thanks,
댓글 수: 0
답변 (2개)
David Hill
2022년 10월 26일
I just generated example matrices for x and y. x-rows are specific thurst for various c-values, y-rows are fuel consumption values for various a-values.
x=[350 380 400 410 411 345];
y=[.19 .192 .195 .198 .215 .285];
x=x+(10:10:50)';
y=y.*[1 .9 .85 .8 .75]';
plot(x',y');
hold on;
plot(x,y,'Marker','.')
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

