Hey guys, I have got pressure (p) as a dependent variable which depends on 'r', 'z' & 't'.
I am using the following code for plotting the contour of velocity (vc) and its working well. The code is:
[x,y]=meshgrid(r);
[rad,rad]=cart2pol(x,y);
contour(rad,vc(:,23,34));
But doing the same thing with pressure (p) shows nothing in the plot & plotting pressure against 'r' or 'z' gives fine results.
Please help me regarding this. Any suggestion will be greatly appreciated.
Thanks!!

댓글 수: 4

KSSV
KSSV 2017년 1월 11일
check your pressure data...
Udit Srivastava
Udit Srivastava 2017년 1월 11일
had the pressure data would have been wrong, I would not have got the correct pressure plot.
KSSV
KSSV 2017년 1월 11일
Does it have numbers? What is it's size?
Udit Srivastava
Udit Srivastava 2017년 1월 11일
this is the code.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

질문:

2017년 1월 11일

댓글:

2017년 1월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by