help-octave
[Top][All Lists]
Advanced

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

Re: 3-D plots


From: asha g
Subject: Re: 3-D plots
Date: Tue, 2 Oct 2007 23:02:32 -0700 (PDT)

I am attaching a file of a plot. THis is what I would
like my final plot to look like. Can you suggest how I
can do it?
Thanks
Asha 
--- Utkarsh Upadhyay <address@hidden> wrote:

> 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
> 


 
   
   
   
  Goals too clearly defined can become blinkers. 
  Mary Catherine Bateson 



      
____________________________________________________________________________________
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
http://autos.yahoo.com/index.html
 

image/pjpeg


reply via email to

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