Filled contour plot with seasonal and diurnal variation of the same variable
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Nishant Gupta
on 2 Aug 2019
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 Comments
See Also
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!