help-octave
[Top][All Lists]
Advanced

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

Re: howto plot data in 3D


From: Martijn
Subject: Re: howto plot data in 3D
Date: Fri, 08 Oct 2010 12:16:26 +0200

Thanks,
The documentation is too modest. Another question: is there a way to
plot a subs of the data using conditional indexing. E.g:

cond = sqrt(x.^2 + y.^2) < R;
mesh(x(cond), y(cond), z(cond), c(cond))

Martijn

On Thu, 2010-10-07 at 21:55 +0000, bpabbott wrote:
> Both mesh and surf accept a fourth argument which is mapped to the
> colormap.
> 
> 
> mesh (x, y, z, c)
> 
> 
> Unfortunately the documentation doesn't mention it. I'll add it to the
> bug tracker.
> 
> 
> Ben
> 
> 
> 
> 




reply via email to

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