From: ragab Rabeiy on
Hi everybody,
I need to create plot with 3d plus my function.

% Example
x=500:-10:1000;
y=350:-5:500;
z=510:-3:612;
c=f(x,y,z among other)
plot(x,y,z,c)
grid on

it is not working with me, pleased any help.
have a nice time
Ragab
From: Steven Lord on

"ragab Rabeiy" <r_rabeiy(a)yahoo.com> wrote in message
news:hr3orp$qhu$1(a)fred.mathworks.com...
> Hi everybody,
> I need to create plot with 3d plus my function.
>
> % Example
> x=500:-10:1000;
> y=350:-5:500;
> z=510:-3:612; c=f(x,y,z among other)
> plot(x,y,z,c)
> grid on
>
> it is not working with me, pleased any help.

Look at PLOT3, SURF, or MESH -- if those don't do what you want, respond to
this post with some clarification as to what exactly you're looking for (a
link to an image that you want to reproduce would be good too.)

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ