Plot nurbs objects for NURBS toolbox

Updated 'nrbplot' function from NURBS toolbox. Allows to pass parameters/value pairs for plotting.
835 Downloads
Updated 29 Oct 2010

View License

% Examples:
%
% The two statements below are equivalent and plot a nurbs surface with
% lighting gouraud.
You need the NURBS toolbox for use of this function.

Example:

nurbs=nrbtestsrf;
h=nrbplot(nurbs,50,50],'FaceColor','r','EdgeColor','k','FaceLighting','gouraud');
light

h=nrbplot(nurbs,linspace(0,1,50),linspace(0,1,50)},'FaceColor','r','EdgeColor','k','FaceLighting','gouraud');
light

Cite As

Pirmin Borer (2024). Plot nurbs objects for NURBS toolbox (https://www.mathworks.com/matlabcentral/fileexchange/29178-plot-nurbs-objects-for-nurbs-toolbox), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fortran with MATLAB in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0