Borrar filtros
Borrar filtros

2D heat diffusion with convection boundary conditions

1 visualización (últimos 30 días)
Michael Omodara
Michael Omodara el 8 de Mayo de 2020
Comentada: Roya Rajabi el 16 de Dic. de 2020
The is a follow up to my earlier question on heat transfer in a box of grain.
I observed that the plot from [C,h]= contourf(xx(:,:,g),yy(:,:,g),Tt(:,:,g)); interchanged the bottom side with the left side and the topside with the right. It seems that is the default setting for this command.
However, when I used contourf(x,y,T(:,:,g)) instead, the plot come out right but without contour labels.
I want a contour plot with lables.
What can I do to resolve this problem. I have spent weeks on the issue without success.
  2 comentarios
darova
darova el 9 de Mayo de 2020
Please attahc example code. Show the picture
Roya Rajabi
Roya Rajabi el 16 de Dic. de 2020
Use Transpose int he contour if you do not use meshgrid for gridding the domain.
and for label and having numbers on the lines use below:
contourf(x,y,(u)','ShowText','on')
ylabel('Y')
xlabel('X')

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Thermal Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by