help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3-D plots


From: Utkarsh Upadhyay
Subject: Re: 3-D plots
Date: Tue, 2 Oct 2007 16:05:09 +0530

Hi,

I am not very sure what is the exact problem that you are facing.
If the problem is just with the change of the axis .. then you can try doing this:

sz = size(V);

ynew = V(:)'; % To flatten the V matrix.

[r c] = ind2sub( [sz(2) sz(1)], 1:length(ynew));
xnew = X(r);
znew = T(c);

plot3(xnew, ynew, znew);

Is this what you wanted?

HTH,
musically_ut


On 10/1/07, asha g <address@hidden> wrote:
I am trying to plot  X[1:N] and T[0:n] vs V(X,T).
I have tried using plot3, meshgrid, meshdom, mesh but
am unable to get x- axis to be X. y - axis to be V and
z- axis to be T.

Can someone help me, please.

Thanks

Asha







  Goals too clearly defined can become blinkers.
  Mary Catherine Bateson



      ____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
http://tv.yahoo.com/

_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave



--
Never trust a spiritual leader who cannot dance. ~Mr. Miyagi, The Next Karate Kid
reply via email to

[Prev in Thread] Current Thread [Next in Thread]