image thumbnail

updated 24 days ago

SHADOWPLOT by Michelle Hirsch

Add a shadow to an existing surface plot. (specialized, plotting, surface)

image thumbnail

updated 24 days ago

Compute a Tutte map of a planar surface triangulation by Dylan Muir

Map a surface mesh onto a planar unit circle, using Tutte's algorithm (surface, triangulation, mesh)

TutteMap(mnTriangulation)

[ mnEdges, mbVertVertAdjacency, ...

image thumbnail

updated 24 days ago

Fast Loop mesh subdivision by Dylan Muir

Subdivide a surface mesh, using Loop subdivision. Boundary- and shape-maintaining (surface, mesh, triangulation)

...

image thumbnail

updated 1 month ago

NanSurf.zip by Massimo Ciacci

Make surface plot when X,Y,Z contain NaNs, taking care of NaN-discontinuities (plot, surface)

NaNBasedTriangulation(Z, EN_trg_extend)

NaNsurf(X,Y,Z,varargin)

placefig(fig,m,n,k, forcedW, forcedH, setVirtualScreenSiz...

image thumbnail

updated 1 month ago

findpeaks2.m by Sudipta Das

Find all the peaks of a surface excluding NaN. (surface, mathematics, maximum)

[y,ind]=findpeaks2(P)

image thumbnail

updated 1 month ago

Water surface simulation. Energy conservation by Huy

Use the wave equation to simulate water surface (animation, surface, water)

Huy_wave(varargin)

image thumbnail

updated 4 months ago

ThreeVector by Daniel O'Shea

Draws three-pronged labeled axis vectors that indicate 3d plot rotation (plot, dataplot, figure)

ThreeVector

image thumbnail

updated 4 months ago

Fast Alpha Hulls (alpha shapes in 3d; parfor enabled) by Dylan Muir

Compute the alpha hulls (exterior and interior) of a set of points. (alpha hull, shape, surface)

AlphaHull(mfPoints, fAlphaRadius, triDelaunay)

TriCircumcenter(vfPoint1, vfPoint2, vfPoint3)

image thumbnail

updated 5 months ago

surf2solid - make a solid volume from a surface for 3D printing by Sven

Turns thin surfaces into closed solids by adding a flat base or offsetting by a given thickness. (stl, patch, mesh)

surf2solid(varargin)

image thumbnail

updated 5 months ago

SurfaceSmooth by Marc Lalancette

Restricted smoothing of a triangulated surface (triangulation, surface, patch)

SurfaceSmooth(Vertices, Faces, VoxSize, DisplTol, IterTol...

image thumbnail

updated 6 months ago

Patch Curvature by Dirk-Jan Kroon

Principal, Gaussian and Mean Curvature of triangulated mesh (curvature, gaussian, principal)

[Cmean,Cgaussian,Dir1,Dir2,Lambda1,Lambda2]=patchcurvatur...

image thumbnail

updated 6 months ago

intriangulation - which points are inside a 3d watertight triangulation? by Johannes Korsawe

Are 3D-testpoints located inside or outside an arbitrary watertight mesh with vertices and faces? (inside, 3d, point)

intriangulation(vertices,faces,testp)

image thumbnail

updated 6 months ago

Surface Spherical Harmonic Functions Visualization by Dimitrios Piretzidis

Visualization of surface spherical harmonics on the sphere surface. (surface, spherical, harmonic)

GUI_SSH(varargin)

image thumbnail

updated 10 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF. (3d, u3d, graphics)

[strmodelshading, strfaces_colors, strfaceshading, strcol...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

updated 10 months ago

unifyMeshNormals by Sven

Aligns adjacent faces in a triangulated mesh surface or volume (mesh, stl, normal)

unifyMeshNormals( varargin )

image thumbnail

updated 1 year ago

Fit 2D Gaussian with Optimization Toolbox by Nathan Orloff

Fit a 2D rotated gaussian. http://en.wikipedia.org/wiki/Gaussian_function (image processing, optimization, signal processing)

fmgaussfit(xx,yy,zz)

image thumbnail

updated 1 year ago

stlwrite - Write binary or ascii STL file by Sven

Export a variety of inputs (patch, surface) to an STL triangular mesh (data import, data export, stl)

stlwrite(filename, varargin)

image thumbnail

updated 1 year ago

Rose Model by LY Cao

two example that generate a 3D rose. (3d, graphics, surface)

roseplot1.m

roseplot2.m

image thumbnail

updated 1 year ago

Diagramas de radiacion de una antena by Diego

Permite la observación tanto en 2D como en 3D de los diagramas de radiacion de una antena isotrópica (surface, rotate3d)

Diagra_Radia__1_.m

image thumbnail

updated almost 2 years ago

Construction of cubic Bezier Patch and Surface by Dr. Murtaza Khan

Construction of cubic Bezier Patch and Surface (cubic bezier, patch, surface)

Q=bezierpatchinterp(P,varargin)

plotbezierpatch3D(P,Q)

plotbeziersurface3D(S,Q)

image thumbnail

updated 2 years ago

stlwrite - Write binary or ascii STL file by Grant Lohsen

This is an update to the excellent work done by Sven Holcombe to add color support (data export, data import, mesh)

stlwrite(filename, varargin)

image thumbnail

updated 2 years ago

Heightprofile from GoogleEarth to 3D-Surface by Sven Koerner

The tool get the height-Profile from GoogleEarth via COM-API and the image to generate a 3D-surface. (3d, surface, plot)

ge_test1

image thumbnail

updated 2 years ago

Spectrogram, STFT, with varied kinds of Plots by Shreyes

Plots STFT using line, Stem, Surface, Image. STFT calculation done using in built function (mathematics, statistics, signal processing)

spectrogram_multiplot(plot_type, data, varargin)

spectrogram_multiplot_demo.m

image thumbnail

updated 2 years ago

posdist by Jakob Tougaard

Calculates distance between two geographical positions in lat/long format (distance, latitude, longitude)

posdist(lat1,lon1,lat2,lon2,method)

image thumbnail

updated 2 years ago

Rotate.m function fixed by Luc Masset

Surf property "vertexnormals" are updated correctly. (rotate, surf, surface)

rotate(h,azel,alpha,origin)

image thumbnail

updated 2 years ago

Vectorized Meshgrid by Ioannis Filippidis

Conversions between N-D rectangular domain, meshgrid and matrix of column vectors (mathematics, meshgrid, vectorization)

domain2meshgrid(domain, resolution)

domain2vec(domain, resolution)

example_vectorized_surf_plot

image thumbnail

updated 2 years ago

Shape Context Based Corresponding Point Models by Dirk-Jan Kroon

Shape Context based nonrigid registration of 2D/3D objects, to build Active Shape Models (shape context, corresponding point m..., corresponding points)

A=imresize3d(V,scale,tsize,ntype,npad)

A=imresize3d(V,scale,tsize,ntype,npad)

A=imresize3d(V,scale,tsize,ntype,npad)

image thumbnail

updated 2 years ago

copyaxes by Mar Callau-Zori

Copy an axes object into another axes object (figure, copy, axes)

copyaxes(source, destination, varargin)

image thumbnail

updated 2 years ago

Export a Matlab surface to an Avizo© (VSG) compatible surface by Sheng Yue

Export a single surface defined by vertices and triangular faces to an Avizo compatible surface (usagewriteavizosurff, v, filename)

writeAvizoSurf.m

image thumbnail

updated almost 3 years ago

Matlab 3D figure to 3D (X)HTML by Dirk-Jan Kroon

Converts 3D objects of a Matlab figure to XHTML embedded X3D file. Interactive 3D website graphics. (xhtml, x3d, webgl)

[F,V,Cface,Cedge,E,T]=surf2FV(Obj)

[data,loc]=XMLaddNode(name,data,loc)

[data,loc_body]=XHTMLheader(options)

image thumbnail

updated almost 3 years ago

Shaped colorplot by Fanny Besem

2D or 3D shaped colorplot: useful to represent surface properties (surface, surface properties, contour)

shapedcolorplot.m

image thumbnail

updated almost 3 years ago

intersectPlaneSurf II by Mehmet OZTURK

Intersection of a plane with an arbitrary surface (intersection, plane, surface)

intersectPlaneSurf.m

image thumbnail

updated 3 years ago

Showvol Isosurface Render by Dirk-Jan Kroon

GUI to show Isosurface of volume data, with fast preview render (isosurface, iso, surface)

showvol(varargin)

image thumbnail

updated 3 years ago

Cylinder by Avni Pllana

This is the improved version of the previously submitted function 'cylinder2.m' . (surface, tube)

[X,Y,Z]=cylinder2(x,y,z,r,N,o)

image thumbnail

updated 3 years ago

Surface2VTK by James Ramm

Interpolates scattered data and saves the result to a vtk file. (vtk, surface, surf)

fillElevation(Elev,ncellX,ncellY,nlayer,nR)

meanRes(R,ncellY,ncellX,nlayer)

surface2vtk(x,y,z,r,vtkname)

image thumbnail

updated 3 years ago

Fast STL import function by Eric Trautmann

Function to import .stl geometry model files into matlab. (geometry, stl, model)

varargout=import_stl_fast(filename,mode)

image thumbnail

updated 3 years ago

Create 3D-interactive HTML File from MATLAB surface, Part2 by Sven Koerner

This function allows to show 3d-surface plots in html - documents. (figure, html, interactive)

javaview_nosym(surface_handle, filename, destination, sou...

image thumbnail

updated 3 years ago

Scalar Function Surface Plotter by Matthew

plots a 3-d surface and returns a matrix of 3-d pts based on a symbolic expression of xyz (surface, scalar function, 3d surface)

out_mat=fielder(fld_rng,sclr_fnc,z_fnc)

image thumbnail

updated almost 4 years ago

Ezimplot3: implicit 3D functions plotter by Gustavo Morales

Plots a 3D surface defined implicitly (surface, implicit functions, plotting)

ezimplot3(varargin)

image thumbnail

updated almost 4 years ago

freezeColors / unfreezeColors by John Iversen

Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. (annotation, customization, colormap)

freezeColors(varargin)

unfreezeColors(h)

Contents.m

image thumbnail

updated almost 4 years ago

surfi by Ben Mitch

Plot (or return) surface interpolated from supplied vertices. (visualization, plotting, plot)

surfi(XYZ, C, maxSideLength)

triangulate(varargin)

triangulate_pareByArea(XYZ, v, maxTriangleArea)

image thumbnail

updated almost 4 years ago

Surface Fitting using gridfit by John D'Errico

Model 2-d surfaces from scattered data (approximation, interpolation, modeling)

gridfit_demo

gridfit(x,y,z,xnodes,ynodes,varargin)

test_main.m

image thumbnail

updated 4 years ago

3D Surface/Mesh to VRML Utility: mesh2vrml 1.0 by Simulink Dude

Convert MATLAB 3D surface to ElevationGrid in VRML (simulink, 3d, animation)

filename_final=mesh2vrml(X, Y, Z)

startmeup.m

image thumbnail

updated 4 years ago

Create 3D-interactive HTML File from MATLAB surface by Sven Koerner

This function uses the abiliy from MuPad to create javaview-files (jvd, jvx) and html - documents. (3d, mesh, surface)

javaview(surface_handle, filename, destination, source, o...

image thumbnail

updated 4 years ago

Generate vertices, faces and color for u3d format by Sven Koerner

Generate vertices, faces and color for u3d format and display it in pdf or doc, xls and ppt (3d, u3d, mesh)

u3d_pre

image thumbnail

updated 4 years ago

Earth-sized Sphere with Topography by Will Campbell

variation on the SPHERE command to facilitate plotting of orbital trajectories (aerospace, space, earth)

earth_sphere(varargin)

image thumbnail

updated 4 years ago

Triangular Mesh Refinement by Dirk-Jan Kroon

This function will refine a triangular mesh with 4-split spline interpolation (approximation, interpolation, triangular)

Fnew=makenewfacelist(F,HT_index, HT_values)

Ne=vertex_neighbours(FV)

Ne=vertex_neighbours_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated 4 years ago

Plot 2D/3D region by Per Bergström

The program plots convex closed regions in 2D/3D. (specialized, plotting, plot)

plotregion.m

example1.m

example2.m

image thumbnail

updated 4 years ago

Qplot by Francisco de Castro

Menu driven GUI for creating many graph types (data exploration, graph, plot)

Qplot()

barerror (X,Y,E,width,color)

getcols (col)

image thumbnail

updated 4 years ago

3D colored line plot by Georg Stillfried

Plot 3D lines with CData, (actually surface) (cdata, color line, graphics)

color_line3(x, y, z, c, varargin)

Contact us