Filter löschen
Filter löschen

How to plot pressure contour?

5 Ansichten (letzte 30 Tage)
Udit Srivastava
Udit Srivastava am 11 Jan. 2017
Kommentiert: Udit Srivastava am 11 Jan. 2017
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 Kommentare
KSSV
KSSV am 11 Jan. 2017
Does it have numbers? What is it's size?
Udit Srivastava
Udit Srivastava am 11 Jan. 2017
this is the code.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by