Filled contour plot with seasonal and diurnal variation of the same variable

1 visualización (últimos 30 días)
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?

Respuestas (1)

Nishant Gupta
Nishant Gupta el 2 de Ag. de 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.

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by