Filled contour plot with seasonal and diurnal variation of the same variable
조회 수: 2 (최근 30일)
이전 댓글 표시
I have two variables. One is the seasonal variation of a variable and the other is diurnal variation of the same variable. I want to plot a filled contour plot (contourf) with the seasonal variation on the x-axis and the diurnal variation on the y-axis. How can I do so?
댓글 수: 0
답변 (1개)
Nishant Gupta
2019년 8월 2일
Hi Sayantan
Since there is no information about the specification of the variable consider an example where you want to plot a contour of temperature variation over a particular year as well as a particular day of that year.
You can take that seasonal variation as one variable say ‘x’ and diurnal variation as another variable say ‘y’ and you also require one more variable say ‘z’ to define the relationship between ‘x’ and ‘y’.
Then you can use the ‘contourf’ function (refer following link for function documentation) to plot your filled contour.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!