Contour plot and line plot

조회 수: 3 (최근 30일)
Uche Agbogwu
Uche Agbogwu 2022년 10월 12일
편집: dpb 2022년 10월 12일
Hello,
how do I recreate this image, which I found on one of the functions in the file exchange server. I know how to generate the contour, but not how to include the line plots in the x- and y- axes.
Thank you

채택된 답변

dpb
dpb 2022년 10월 12일
편집: dpb 2022년 10월 12일
That will have been done with subplot more than likely; the newer tiledlayout could also be used.
Is there not the code with the FEX submission that generated the image? That'd seem to be the first place to start.
But, it really isn't that hard to get started; the axes starting point can be created as
hAx(1)=subplot(3,3,[1 2]);
hAx(2)=subplot(3,3,[4 5 7 8]);
hAx(3)=subplot(3,3,[6 9]);
box(hAx,'on')
axis(hAx(2),"square")
hAx(1).Position= hAx(1).Position+[0.05 0 -0.10 0];
hAx(3).Position= hAx(3).Position+[0.0 0 -0.05 0];

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by