CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   MATLAB (https://www.cfd-online.com/Forums/main/7935-matlab.html)

Joe August 11, 2004 13:25

MATLAB
 
Hi,

I have two geometries in my MATLAB program as follows:

(x1,y1,z2) and (x2,y2,z2)

I can plot them separately using MESH command. How can I plot them in ONE figure (window)?

Please let me know if anybody knows. Thanks.

Junseok Kim August 11, 2004 13:46

Re: MATLAB
 
mesh(x1,y1,z1) hold mesh(x2,y2,z2) hold

amol palekar August 13, 2004 02:10

Re: MATLAB
 
u can use subplot subplot(rows,cols,cordinate) so subplot(1,2,1) (x1,y1,z1) subplot(1,2,2) (x2,y2,z2)

hope this helps -amol

Steve August 13, 2004 07:02

Re: MATLAB
 
Why not post this question to comp.soft-sys.matlab instead? It's a bit off-topic here.


All times are GMT -4. The time now is 10:55.