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 16:39:05 +0800 (SGT)

I also get this but no plot.
AG


ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
ans =  1
:

 
 
 
 
 
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 10:40 AM
Subject: Re: 3 D plot

2012/3/15 asha g <address@hidden>:
>> From: Jordi Gutiérrez Hermoso <address@hidden>

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

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

Right... I think vvvv is the crux of the matter here. I can't easily
guess what values it has in your script.

Can you save vvvv, gzip the resulting file and attach it with your
next message?

- Jordi G. H.



reply via email to

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