From: Darren Rowland on
Alex,
This may be what you're after

% Some random data
x = 0.1:0.1:1;
y = sort(rand(1,10));

% Number of radial spokes
n = 21;

% Transform data for cylindrical presentation
theta = linspace(0,2*pi,n);

xr = x.'*cos(theta);
zr = x.'*sin(theta);
yr = repmat(y.',1,n);

surf(xr,zr,yr)

Hth
Darren
From: Alex Johns on
"Darren Rowland" <darrenjremovethisrowland(a)hotmail.com> wrote in message <hnq2uj$b73$1(a)fred.mathworks.com>...
> Alex,
> This may be what you're after
>
> % Some random data
> x = 0.1:0.1:1;
> y = sort(rand(1,10));
>
> % Number of radial spokes
> n = 21;
>
> % Transform data for cylindrical presentation
> theta = linspace(0,2*pi,n);
>
> xr = x.'*cos(theta);
> zr = x.'*sin(theta);
> yr = repmat(y.',1,n);
>
> surf(xr,zr,yr)
>
> Hth
> Darren


Hi Darren. That code worked perfectly for what I wanted to do. It wasn't even very hard to implement. Thank you so much. It also looks REALLY cool

Alex