help-octave
[Top][All Lists]
Advanced

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

Re: 3 D plot


From: asha g
Subject: Re: 3 D plot
Date: Thu, 15 Mar 2012 12:40:49 +0800 (SGT)

Am attaching a script file related to this.
tmax = 55
niter = 6182
x = linspace  (0,400*10^-4,N)
N = 10
X= x/lambda
lambda = 0.10536
vvvv is generated from the program and is V wrt t and X

I  get nothing - basically - the plot does not come up in mesh and with surf I get a black rectangle.
Thanks
Asha
 
 
 
 
 
Goals too clearly defined can become blinkers.
Mary Catherine Bateson


From: Jordi Gutiérrez Hermoso <address@hidden>
To: asha g <address@hidden>
Cc: "address@hidden" <address@hidden>
Sent: Thursday, 15 March 2012 9:56 AM
Subject: Re: 3 D plot

On 14 March 2012 05:25, asha g <address@hidden> wrote:
> I have written:
>
> x = linspace ( 0,tmax,niter)
> z = linspace (0,X,N)
> y = vvvv(niter,N)
> [xx,zz] = meshgrid(x,z)
> mesh(xx,y,zz)
> surf(vvvv)
>
> I  get nothing.

Neither do I. Nothing wrong, I mean. I need to know the rest of your
values in order to diagnose what you might have. I also need to know
what kind "nothing" are you getting.

I am able to use mesh and surf fine, making up numbers on my own.

- Jordi G. H.


Attachment: cabunbact1aoct.m
Description: Binary data


reply via email to

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