3D Plot on a Cylindrical Surface

CYL3D plots 3D data on a cylinder.
4,4K descargas
Actualizado 23 sep 2005

Sin licencia

CYL3D(Zin,theta_min,theta_max,Rho,H,meshscale) plots the 3D profile Zin as a mesh plot on a cylindrical surface of radius Rho, with mesh size determined by meshscale, for equally spaced
angles between theta_min and theta_max. H is the cylinder height.

CYL3D(Zin,...,meshscale,plotspec) plots the 3D profile Zin with a plot type specification. If plotspec = 'surf' a standard MATLAB
surface is plotted, whereas 'mesh', 'surfc' or 'meshc' will plot mesh, surface with countour, or mesh with contour, respectively.

CYL3D(Zin,...,meshscale,interpspec) plots the 3D profile Zin with the interpolation specification, interpspec, which can be one of 'spline', 'linear', 'nearest' or 'cubic'. The default interpolation is linear if not specified.

CYL3D(Zin,...,meshscale,Zscale) plots the 3D profile Zin with the data scaling factor, Zscale. This allows you to scale the peaks and troughs of the data on the surface if the radius is
relatively large. Zscale larger than 1 magnifies the data range correspondingly. Zscale defaults to 1 if not specified.

[Xout,Yout,Zout,Cmap] = CYL3D(Zin,...) returns output values corresponding to the Cartesian positions (Xout,Yout,Zout) with colour mapping, Cmap.

This function was developed under Ver. 7 R14SP1 and has been updated to be compatible with earlier Matlab versions, however there is no guarantee of compatibility.

If you do have any problems using the function please contact the author.

Citar como

J De Freitas (2024). 3D Plot on a Cylindrical Surface (https://www.mathworks.com/matlabcentral/fileexchange/8490-3d-plot-on-a-cylindrical-surface), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14SP1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Surface and Mesh Plots en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

Version 1.1 should now be compatible with earlier Matlab versions.