Main Content

17,154 results in File Exchange

3D colored line plot

Version 1.4.0.0 by Georg Stillfried

Plot 3D lines with CData, (actually surface)

plots a 3-D "line" with c-data as color Makes a surface object and the colouring is controlled by the colormap.Example:v_start = [2 1 8]; % m/sg = 9.81; % m/(s^2)t_impact = 2*v_start(3)/g; % st =

- color_line3 plots a 3-D "line" with c-data as color
  • 4.2K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 22 Oct 2009

cline

Version 1.0.0.0 by Sebastian Hölz

Draw a colored line in 2D or 3D

z-valuescdata (opt.): vector with color-data2 input arguments => cdata = y; z=0 3 input arguments => cdata = z 4 i.a. & z = [] => cdata = y; z=0 OUPUT=====h: Handle to line

  • 6.5K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 16 Apr 2007

colormapline - color-changing 2D or 3D line

Version 2.1.0.0 by Matthias Hunstig

Plot a 2D or 3D line using a specified colormap.

% H = colormapline(X,Y,Z,C) Plot a line using a specified colormap% If Z is given, a 3D plot with coordinates X, Y, Z is created.% If Z is not given, a 2D plot of Y over X if created.% If Y and

  • 1.9K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 Dec 2016

Plot 3D Color Line

Version 1.0.0.0 by Daniel Ennis

Plots a 3D line with color encoding along the length using the patch function.

This function plots a 3D line (x,y,z) encoded with scalar color data (c). This function is an improvement over the CLINE function previously made available on TMW File Exchange. Rather than using

  • 6.9K (All time)
  • 1 (Last 30 days)
  • 3.9 / 5
  • Community
  • 31 Mar 2016

plot3rgb

Version 1.1.0.0 by Siddharth Ray

Plot a colored 3 D line changing its color with distance in the space.

This function plot a colored 3-dimensional line of a set of given points. The plot varies its color in a form, x axis as red, y as green and z axis as blue. So basically if the plot proceeds in

  • 314 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 19 Sep 2011

3D Rotation about Shifted Axis

Version 1.3.0.1 by Matt J

Computes/applies rotation about arbitrary 3D line.

Generates the roto-translation matrix for the rotation around an arbitrary line in 3D. The line need not pass through the origin. Optionally, also, applies this transformation to a list of 3D

  • 6.7K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 4 Apr 2021

dxf export for 3d line elements

Version 1.0.0.0 by Christoph Krall

Exports 3d line elements into a DXF file for further use with CAD software.

Given a filename and a 3d line where each line element is specified by X,Y, and Z coordinates it writes a DXF file with the a connected line and N vertices.

- % Given a filename and a 3d line where each line element is
  • 8.9K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 13 May 2004

Guaranteed Automatic Integration Library

Version 2.3.2 by GAIL

Guaranteed Automatic Integration Library

- rotates the 3-D plot axes through several angles and
- draws a pretty Florida funappxseashell, using a 3D parametric surface.
- GAIL (Guaranteed Automatic Integration Library) is created, developed, and maintained by Fred Hickernell (Illinois Institute of Technology), Sou-Cheng Choi (IIT and Kamakura Corporation), Yuhan Ding (IIT), Lan Jiang (IIT alum), Jagadeeswaran Rathinavel (IIT alum), Lluis Antoni Jimenez Rugama (IIT alum), Xin Tong (IIT alum and University of Illinois at Chicago), Kan Zhang (IIT), Yizhi Zhang (IIT alum), and Xuan Zhou (IIT alum).
- Install or reinstall GAIL. Add GAIL paths to MATLAB search path.
- Copyright © 2020, Illinois Institute of Technology. All rights reserved.
- : Save data to a MAT file in a subdirectory in 'OutputFiles'
- : Opens a text file in a subdirectory in 'OutputFiles'
- InitializeDisplay: Set the display parameters to make the display beautiful
- Computing normal probabilities
- Comparing funmin_g with fminbnd and chebfun
- : Save figure to an eps file in a subdirectory in 'OutputFiles'
- fast doctest for funappx_g
- Computing normal probabilities
  • 698 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Mar 2022

Plot3 Shaded Line

Version 1.0.0.0 by Dirk-Jan Kroon

Like plot3, but will plot a real (round, flat, triangle, squared) thick shaded 3D line

This function works like plot3, but will display a real 3D round (vessel like), flat, triangle or squared line. Which can be shaded, because the surface is a triangulated patch.

- PLOT3T Plots a (cylindrical) 3D line with a certain thickness.
  • 3.5K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Aug 2008

3D colored bar plot

Version 1.0.0.0 by Johannes

3D bar plot with arbitrary coloring

This function creates a 3D bar plot with arbitrary coloring for each individual bar from an MxN matrix. Bar heights = elements of the matrixBar colors = (1) user-specified colormap or (2) MxNx3 array

- 3D bar plot from matrix (colored by height)
  • 1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Mar 2014

3D Polar Plot

Version 1.2.0.0 by Ken Garrard

Plots 3d polar data with polar axis and polar grid

peaks(x,y); % peaks function on a polar grid % draw 3d polar plot figure('Color','white','NumberTitle','off','Name','PolarPlot3d

- POLARPLOT3D Plot a 3D surface from polar coordinate data
- Examples of the polarplot3d function
  • 25.7K (All time)
  • 9 (Last 30 days)
  • 4.9 / 5
  • Community
  • 4 Mar 2016

MATLAB Plot Gallery - Line Plot 3D

Version 1.1.0.2 by MathWorks Plot Gallery Team

Create a 3D plot

This is an example of how to create a 3D plot in MATLAB®.Read about the "plot3" function in the MATLAB documentation.For more examples, go to MATLAB Plot Gallery -

  • 4.4K (All time)
  • 2 (Last 30 days)
  • 4.0 / 5
  • Community
  • 19 Dec 2018

3D Rendering Toolbox: Color image and depth map from mesh

Version 2.1.0 by George Abrahams

A notable use case is to simulate RGB or Kinect (depth) camera images for computer vision applications.

3D Rendering Toolbox: Color images and depth maps from 3D meshesImplementation of the computer graphics pipeline for triangulated meshes, in addition to a number of camera plotting functions. Handles

  • 214 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Mar 2024

point to line distance

Version 1.3.2 by Rik

calculate the distance between a 2D or 3D line and one or more points

You can input either a 2D or a 3D line and 2D or 3D points. This function is an extended version of the line below, with some input checking:distance=norm(cross(v1-v2,pt-v2))/norm(v1-v2)Licence: CC

  • 2.4K (All time)
  • 3 (Last 30 days)
  • 4.8 / 5
  • Community
  • 5 Jul 2020

imsurf: 3D images

Version 1.1.0.0 by Matthew Arthington

Plot images as 3D planes with full control over position and scale.

This function will display an image in a 3D plane with the specified position, image normal, image x direction and scale. It can display full colour and monochrome images with or without

  • 2.7K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Feb 2013

Viewer3D

Version 12.1.0.0 by Dirk-Jan Kroon

MIP, Color, Slice and Shaded 3D (shearwarp) Volume Rendering, interactive 3D view/measurement GUI

kind of renders. The fast render algorithm which renders a 3D volume to a 2D image, is based on a Matlab coded implementation of the Shear-Warp transform, in which instead of rotating the viewer rays the

- VIEWER3D a Matlab 3D volume renderer using the fast shearwarp algorithm.
- This function ReadData3D allows the user to open medical 3D files. It
- IMGAUSSIAN filters an 1D, 2D color/greyscale or 3D image with an
- Function RENDER_COLOR will volume render a Image of a 3D volume with
- Function RENDER_COLOR will volume render a Image of a 3D volume with
- Function RENDER will volume render a image of a 3D volume,
- This function DICOM_WRITE_VOLUME will write a Matlab 3D volume as
- Function RENDER_SHADED will volume render a shaded Image of a 3D volume,
- Function RENDER_MIP will render a Maximum Intensity Image of a 3D volume
- Function RENDER_BW will volume render a Image of a 3D volume with
- Function RENDER_MIP will render a Maximum Intensity Image of a 3D volume
- Function RENDER_BW will volume render a Image of a 3D volume with
- Function RENDER_SHADED will volume render a shaded Image of a 3D volume,
- INFODATA3D M-file for InfoData3D.fig
- ERRORDATA3D M-file for ErrorData3D.fig
- VIEWER3D_SEGMENT MATLAB code for viewer3d_segment.fig
- VIEWER3D_LIGHTVECTOR M-file for viewer3d_lightvector.fig
- VIEWER3D_CONTRAST M-file for viewer3d_contrast.fig
- VIEWER3D_CONSOLE M-file for viewer3d_console.fig
- VIEWER3D_WORKSPACEVARS M-file for viewer3d_workspacevars.fig
- VIEWER3D_VOXELSIZE M-file for viewer3d_voxelsize.fig
- VIEWER3D_DICOMINFO M-file for viewer3d_dicominfo.fig
- VIEWER3D_ABOUT M-file for viewer3d_about.fig
- VIEWER3D_QUALITYSPEED M-file for viewer3d_qualityspeed.fig
- VIEWER3D_ERROR M-file for viewer3d_error.fig
- function for reading header of V3D Philips Scanner ( .v3d )
- function for reading volume of V3D Philips Scanner ( .v3d )
- This function is part of VIEWER3D
- This function PATCHNORMALS calculates the normals of a triangulated
- Eextern = ExternalForceImage3D(I,Wline, Wedge,Sigma)
- Function for writing V3D volume files version R6.1
- % B=SnakeInternalForceMatrix3D(F,alpha,beta,gamma)
- This function SNAKE implements the basic snake segmentation. A snake is an
- This function MakeContourClockwise will make a surface clockwise
- Gaussian based image derivatives
- This function "GVFOptimizeImageForces" does gradient vector flow (GVF)
- This function will calculate one iteration of contour Snake movement
- Draw the contour as one closed line in a logical image,
- This function warp, will warp the shear rendered buffer image
- Function for reading the header of a Visualization Toolkit (VTK)
- function for reading header of Dicom volume file
- function for reading volume of Dicom files
- function for reading volume of NifTi ( .nii ) volume file
- function for reading header of VMP BrainVoyager ( .vmp )
- function for reading volume of XIF HDllab/ATL ultrasound ( .xif )
- function for reading volume of raw volume file
- Function for reading the volume from a Visualization Toolkit (VTK)
- Function for writing Guys Image Processing Lab (Gipl) files.
- Function for reading the volume from a Visualization Toolkit (VTK)
  • 56.9K (All time)
  • 10 (Last 30 days)
  • 4.8 / 5
  • Community
  • 15 Sep 2016

quiver3Dpatch

Version 1.4.0.0 by Kevin Moerman

Plotting of colored 3D arrows based on patch command

This function allows plotting of colored 3D arrows by generating patchdata (faces “F”, vertices “V” and color data “C”). The patch data whichallows plotting of 3D quiver arrows with specified (e.g

  • 1.6K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Apr 2015

2d and 3d brain plots

Version 1.6.0.0 by Jeremy Manning

Quickly and easily create 2d and 3d plots of fMRI data.

generating 2- or 3-dimensional plots of fMRI data that can be manipulated (e.g. rotated, modified) in real time.Although these tools may be used to produce publication-quality figures, the focus here is on

- PLOT_BRAIN3D Plot a 3d brain image
- PLOT_BRAIN3D Plot a 3d brain image
- PATCH_3Darray Plot a 3D array using patch to create a quadrangular surface mesh
- PLOT_BRAIN2D Plot slices of a brain image (3d matrix)
  • 2.9K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Jan 2017

3D Volume Visualization

Version 1.1.0.0 by Joshua Stough

3D volume viz with interactive slice selection, colored ortho-planes, windowing, colormap selection.

This tool provides an interactive 3D volume visualization. The function accepts as arguments any 3D matrix (of type double or uint8) and optional colormap, and displays a 2x2 figure of the 3

- vis3d(img, mycmap): a GUI-enabled visualization of the 3D volume img,
  • 7.2K (All time)
  • 2 (Last 30 days)
  • 4.6 / 5
  • Community
  • 23 Apr 2013

image ellipsoid 3D

Version 1.1.0.0 by David Legland

Equivalent ellipsoid from 3D image

ellipsoid is weighted by image intensity).The function "imEquivalentEllipsoid" computes moments of the 3D image or labels, and returns the associated equivalent 3D ellipsoid. The function is similar to that

- Draw a 3D ellipse.
- Draw a 3D ellipsoid.
- Show a moving 3D slice of an image
- Transform a point with a 3D affine transform.
- Create the 4x4 matrix of a 3D scaling.
- Draw a 3D polygon specified by a list of vertex coords.
- Draw a 3D polyline specified by a list of vertex coords.
- Create the 4x4 matrix of a 3D rotation around x-axis.
- Create the 4x4 matrix of a 3D rotation around z-axis.
- Computes principal axes of a 2D/3D binary image.
- Extract Euler angles from a rotation matrix.
- Draw 3D edge in the current axes.
- Show three orthogonal slices of a 3D image
- Create the 4x4 matrix of a 3D translation.
- Create the 4x4 matrix of a 3D rotation around y-axis.
- Transformation matrix from local to global coordinate system.
- Check if the input corresponds to a valid axis hanfle.
- Draw an ellipse on the current axis.
- Find unique labels in a label image
  • 1.5K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Aug 2019

3D Bresenham's line generation

Version 1.0.0.0 by Jimmy Shen

Generate X Y Z coordinates of a 3D Bresenham's line between two given points

This program will generate the coordinates of a 3D Bresenham's raster line between two given points.A very useful application of this algorithm can be found in the implementation of Fischer

- Generate X Y Z coordinates of a 3D Bresenham's line between
  • 3.5K (All time)
  • 2 (Last 30 days)
  • 4.5 / 5
  • Community
  • 22 Aug 2008

Curvature of a 1D curve in a 2D or 3D space

Version 1.2.8 by Are Mjaavatten

Calculates the local radius of curvature as well as the cumulative arc length and the curvature vector along a 1D curve in 2D or 3D space

Function circumcenter finds the radius R and the center of the circumscribed circle of a triangle in 3D space. Function curvature calls circumcenter for every triplet , , of neighboring points along

  • 5.7K (All time)
  • 5 (Last 30 days)
  • 4.8 / 5
  • Community
  • 10 Nov 2021

Make STL of 3D array (Optimal for 3d printing)

Version 1.0.0 by Amir Safari

make_STL_of_Array Convert a voxelized object contained within a 3D logical array into an STL surface mesh, It's optimal for 3D printing.

make_STL_of_Array Convert a voxelized object contained within a 3D logical array into an STL surface mesh, It's optimal for 3D printing because of the number of faces in final STL is as low as

  • 2.4K (All time)
  • 5 (Last 30 days)
  • 4.9 / 5
  • Community
  • 13 Sep 2018

Colored line or scatter plot

Version 1.0.0.0 by Pekka Kumpulainen

Plot lines with CData, (actually surface)

plots a 2-D "line" with c-data as colorMakes a surface object and the colouring is controlled by the colormap.Examples: x = 0:0.1:2*pi;color_line(x,sin(x),sin(x))color_line(x,cos(x),cos(x),'*')

  • 4.2K (All time)
  • 3 (Last 30 days)
  • 4.3 / 5
  • Community
  • 7 Apr 2008

cprintf - display formatted colored text in Command Window

Version 1.22 by Yair Altman

Displays sprintf-formatted strings in the Command Window using the specified color/underline/bold style

RGB color format (range: 0.0-1.0) [26, 178, 76] - numeric RGB values (range: 0-255) '#1ab34d' - Hexadecimal format (range: '00'-'FF', case insensitive). 3-digit HTML format also

  • 29.8K (All time)
  • 62 (Last 30 days)
  • 4.9 / 5
  • Community
  • 26 Jun 2026

Conditionally colored line plot

Version 1.1 by Matt Tearle

Plots (2D line) graph split into two colors above and below a given threshold value

string that PLOT accepts (eg 'rx:' for a red dotted line with cross markers).The plotting follows the standard MATLAB PLOT approach of linearly interpolating between data values. The coloring/linestyle

- Plots graph split into two colors above and below a given threshold value
  • 1.7K (All time)
  • 1 (Last 30 days)
  • 3.8 / 5
  • Community
  • 3 Mar 2020

3D ternplot

This is the 3D update ternplot of "GTL jetfuel_ternplot with neural network".

This is the 3D update of "GTL jetfuel_ternplot with neural network". "main_3D.m" code plots relationship between four chemical compositions of GTL (normal-paraffin, iso-paraffin, cyclo-paraffin and

- Three D plot for freezing point of n-Paraffin, Cyclo Paraffin and iso-Paraffin blends
  • 701 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Sep 2012

3D Grid Lines Generation with Matlab

Version 1.2.0 by Hristo Zhivomirov

Generate 3D grid lines along X, Y and Z dimensions for better visualization of multidimensional plots.

The present code is a Matlab function that provides a generation of 3D grid lines (along X, Y and Z dimensions) for better visualization of 3D, 4D, 5D or 6D plots created by the Matlab functions

  • 871 (All time)
  • 3 (Last 30 days)
  • 4.8 / 5
  • Community
  • 28 Jun 2022

3D rotation of 3D image

Version 1.3.0.0 by Alon Lanyado

3D rotation of 3D image

This function rotates a 3D image based on angle and axis to rotate a round to.interpolation methods include: nearest neighbor and linear interpolation. The rest of the image that is out of bound is

- function R= rotationmat3D(radians,Axis)
  • 1.3K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 18 Feb 2014

3D Polar Plot

Version 1.0.0.0 by J De Freitas

Plots 3D polar data with axes.

Polar3D plots 3 dimensional data given angular and radial ranges. A choice of plot types and interpolation methods is supported by this function. Useful particularly in producing 3D plots sampled on

  • 20.6K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 8 Mar 2006

Move a 3D object with mouse in a traditional 4-view window

Version 1.3.0.0 by Gang Wang

Interactively move a 3D object anywhere in the 3D space with a mouse.

TDFig is an interactive matlab GUI. It displays a 3D objects in the traditional 4-view window (top, front, right and camera).It also allows users to grasp these objects and move them anywhere in the

- %TDFig is an interactive matlab GUI. It displays a 3D objects in the
  • 2.1K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Nov 2010

3D Shepp-Logan phantom

Version 1.0.0.0 by Matthias Schabel

3D extension of phantom.m

A 3D extension of MATLAB's phantom function - generates a phantom consisting of an arbitrary number of ellipsoids in 3D.

- PHANTOM3D Three-dimensional analogue of MATLAB Shepp-Logan phantom
  • 10.5K (All time)
  • 9 (Last 30 days)
  • 4.4 / 5
  • Community
  • 20 Sep 2006

3D curves

Version 1.0.0.0 by Jesús P. Mena-Chalco

Examples of 3D curves described in Chapter 7 of the book: "CRC Standard Curves and Surfaces"

- Section 7.2: Sine waves in three dimensions
  • 2.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 30 Aug 2009

xlswrite 3D

Version 1.0.0.0 by Jeremy Brower

Allows you to write 3D arrays to Excel

xlswrite is limited to writing 2D arrays to Excel. This is a simple function that allows you to write 3D arrays to Excel.

  • 1.8K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 31 Mar 2008

Read Medical Data 3D

Version 1.1.0.0 by Dirk-Jan Kroon

GUI to open most Medical file-formats: Dicom, V3D, ISI, NifTI, Analyze and other formats

This function ReadData3D allows the user to open medical 3D files. It supports the following formats : Dicom Files ( .dcm , .dicom ) V3D Philips Scanner ( .v3d ) GIPL Guys Image Processing

- This function ReadData3D allows the user to open medical 3D files. It
- This function DICOM_WRITE_VOLUME will write a Matlab 3D volume as
- INFODATA3D M-file for InfoData3D.fig
- ERRORDATA3D M-file for ErrorData3D.fig
- function for reading volume of V3D Philips Scanner ( .v3d )
- function for reading header of V3D Philips Scanner ( .v3d )
- Function for writing V3D volume files version R6.1
  • 32.7K (All time)
  • 11 (Last 30 days)
  • 4.2 / 5
  • Community
  • 23 Feb 2011

Matlab mesh to PDF with 3D interactive object

Version 1.5.0.0 by Alexandre Gramfort

Export triangulated mesh into a pdf with a 3D interactive object.

Export triangulated mesh into a pdf with a 3D object. The matlab mesh is converted to IDTF with matlab code. The IDTF file is converted to u3d with an external binary file. The u3d file can then be

- MESH_TO_LATEX Provide latex and U3D file for embedding a mesh
  • 10K (All time)
  • 3 (Last 30 days)
  • 4.6 / 5
  • Community
  • 10 Jan 2010

Export figure to 3D interactive PDF

Version 1.3.0.0 by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF.

figure directly to a PDF containing only an interactive 3D graphics object.Graphics object supported for export include: line, surface, patch, quivergroup, contourgroup.Line colors and marker styles

- Preprocess line output to u3d.
- Convert axes to PDF with embedded interactive 3D image.
- Convert IDTF to U3D file.
- Convert figure to U3D file.
- Preprocess surface output to u3d.
- Preprocess surface output to u3d.
- Preprocess contour output to u3d.
- Preprocess quiver output to u3d.
- LaTeX code which includes a U3D file.
- Compile LaTeX code to PDF.
- Convert axes to U3D file, generating LaTeX code including it.
  • 10.8K (All time)
  • 6 (Last 30 days)
  • 4.2 / 5
  • Community
  • 4 Aug 2021

3D Slice Viewer

Version 1.6.0.0 by Marian Uhercik

Interactive viewer of 3 orthogonal slices of 3D volume.

Simple interactive viewer of 3 orthogonal slices of 3D volume and of sequence of volumes. The interaction is performed by mouse left button or keyboard arrows.

  • 6.3K (All time)
  • 5 (Last 30 days)
  • 4.5 / 5
  • Community
  • 21 Jul 2011

3D arrow plot

Version 1.0.0.0 by moshe lindner

the function creates 3D plot of an arrow

the function creates 3D plot of an arrow

- % The function plotting 3-dimensional arrow
  • 3.4K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Jul 2010

Draw a 3D airplane

Version 1.0.0.0 by Chad Greene

Draw a very simple 3D airplane and animate it too

The c130 function draws a simple 3D airplane modelled after the Lockheed C-130. The xyz2rpy function estimates roll, pitch, and yaw from given x,y,z coordinates. No special toolboxes required

- C130 draws a simple 3D airplane loosely modelled after a Lockheed C-130.
  • 4.1K (All time)
  • 5 (Last 30 days)
  • 4.8 / 5
  • Community
  • 4 Mar 2016

geom3d

Version 1.25 by David Legland

Geometric computing library for 3D shapes: meshes, points, lines, planes...

The aim of geom3d library is to handle and visualize 3D geometric primitives such as points, lines, planes, polyhedra... It provides low-level functions for manipulating 3D geometric primitives

- Transform a 3D line with a 3D affine transform.
- Convert a 3D edge to a 3D straight line.
- Project a 3D point orthogonally onto a 3D line.
- Convert a 3D straight line to a 3D finite edge.
- Intersection point of a 3D line and a 3D polygon.
- Intersection point of a 3D line and a 3D triangle.
- Test if a 3D point belongs to a 3D line.
- Return the position of a 3D point projected on a 3D line.
- Create 3D line parallel to another one.
- Euclidean distance between 3D point and line.
- Create an edge between two 3D points, or from a 3D line.
- Return same 3D line but with opposite orientation.
- Fit a 3D line to a set of points.
- Draw a 3D line clipped by the current axes.
- Intersection points of a 3D line with a mesh.
- Intersection point between a 3D line and a plane.
- Convert 3D Euler angles to 3D rotation matrix.
- Transform a 3D plane with a 3D affine transform.
- Intersection point of a 3D ray and a 3D polygon.
- Minimum distance between a 3D point and a 3D triangle.
- Minimum distance between a 3D point and a 3D edge.
- Norm of a 3D vector or of set of 3D vectors.
- Middle point of two 3D points or of a 3D edge.
- Demo of drawLine3d
- Boundary of a mesh as a collection of 3D line strings.
- Draw a 3D ellipse.
- Draw a 3D circle.
- Create a line with various inputs.
- Clip a line with a box and return an edge.
- Area of a 3D triangle.
- Area of a 3D polygon.
- Angle between two 3D vectors.
- Draw a 3D circle arc.
- Minimal distance between two 3D lines.
- Draw a 3D ellipsoid.
- Conventions for manipulating 3D affine transforms.
- Intersection of two 3D bounding boxes.
- Check parallelism of two 3D vectors.
- Check orthogonality of two 3D vectors.
- Compute angle between three 3D points.
- Description of functions operating on 3D lines.
- Description of functions operating on 3D vectors.
- Description of functions operating on 3D edges.
- Description of functions operating on 3D circles.
- Description of functions operating on 3D boxes.
- Description of functions operating on 3D polygons.
- Description of functions operating on 3D points.
- Description of functions operating on 3D planes.
- Draw 3D point on the current axis.
  • 43.5K (All time)
  • 9 (Last 30 days)
  • 4.9 / 5
  • Community
  • 28 Feb 2022

3D Earth Example

Version 1.3.0.0 by Ryan Gray

Example of creating a 3D textured Earth globe

Example of creating a 3D textured Earth globe.

- Textured 3D Earth example
  • 9.6K (All time)
  • 4 (Last 30 days)
  • 4.8 / 5
  • Community
  • 16 Oct 2013

3D Rotations

Version 1.1 by Giampiero Campa

3D Space Coordinate Transformations

# 3d-coordinate-transformations3D Space Coordinate Transformations for Robotics Applications[![View 3D Rotations on File

  • 17K (All time)
  • 3 (Last 30 days)
  • 4.7 / 5
  • Community
  • 29 Apr 2023

gplot23D

Version 1.0.0.0 by Mark Catherall

Allows modification of LineSpec and plots 3D vertex sets in 3D

Hybrid version of Giuseppe De Marco's gplot which allows modification of LineSpec and Robert Piche's gplot which plots 3D vertex data in 3D.I am using it to visualise flows through 3D capillary

  • 1.4K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 29 Nov 2006

Color coded 3D scatterplot

Version 1.8.0.0 by Ken Garrard

Produces a 3D scatterplot of XYZ data with varying colors

A 3D scatter plot of a Cartesian data set is drawn. The data points are sorted by color and plot3 is called once for each group of points that map to the same color. This reduces execution time

- PLOT3K Color coded 3D scatterplot
  • 21.7K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 25 Dec 2014

Matlab 3D figure to 3D (X)HTML

Version 1.9.0.0 by Dirk-Jan Kroon

Converts 3D objects of a Matlab figure to XHTML embedded X3D file. Interactive 3D website graphics.

DOM Library (Instant 3D the HTML way! http://www.x3dom.org/). Currently the function supports: Axes, Patch, Line, Surface, Text, Images and Light Objects.Note: Even volume rendering in your browser is possible

- This function FIGURE2XHTML converts the 3D objects of a Matlab figure
- Convert the XML data to a string and write it to a X3D file
  • 4.1K (All time)
  • 6 (Last 30 days)
  • 4.2 / 5
  • Community
  • 17 Aug 2011

  • 4K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 18 Sep 2006

RaspberryPi + MATLAB based 3D Scanner

Version 1.0.0.1 by Siddharth Vaghela

A Simple Single Camera 3D scanner using a line LASER

This project implements a simple 3D scanner using the Raspberry Pi, Pi Camera and a line LASER. The algorithm is still a work in progress but gives a decent scan output. I am still working on

  • 1.4K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Sep 2016

3D Comet Plot

Version 1.0.0.0 by Nick

3D Comet Plot with user specified tail length and line/marker configuration

Similar to the MATLAB routine comet3. It takes x, y, and z line data and creates a comet plot. The user can control the tail length, playback speed (frequency), and all the usual line parameters as

- function creates a moving comet plot in 3 dimensions using the specificed
  • 1.5K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 25 Sep 2013

Arrow 3d

Version 2.04 by Silas Henderson

3d arrow function for animation. function + demo

  • 833 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 5 Sep 2020

3D histogram of RGB image

Version 1.0.0.0 by Pavel Rajmic

Creates 3D-histogram from an RGB image in the form of balls within the RGB cube

Takes RGB images in 24 bpp and computes the 3D histogram of such an image. I.e., splits every axis into 'n' bins thus making n^3 bins in total and shows the result in the form of 'bubbles' of

- Creates 3D-histogram from an RGB image
- Demonstrates the 3D-histogram made from an RGB image
  • 2.5K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 22 Oct 2012

imshow3D

Version 1.6.1.0 by Maysam Shahedi

imshow3D:(3D imshow) Displays 3D images slice by slice.Intensity adjusting & slice browsing by mouse

imshow3D displays 3D grayscale or RGB images in a slice by slice fashion with mouse-based slice browsing and window and level adjustment control, and auto slice browsing control.Usage:imshow3D (

- displays 3D grayscale or RGB images in a slice by slice fashion
  • 18.5K (All time)
  • 22 (Last 30 days)
  • 4.9 / 5
  • Community
  • 29 Oct 2018

cline.m

Version 1.0.0.0 by Daniel Ennis

Plots a 3D line with color encoding along the length.

This function plots a 3D line (x,y,z) encoded with scalar color data (c) using the specified colormap (default=jet). Thus, lines with variable color can be plotted (eg. temperature along a 3D line

- This function plots a 3D line (x,y,z) encoded with scalar color data (c)
  • 5.9K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Jul 2003

3D Plot on a Spherical Surface

Version 1.0.0.0 by J De Freitas

Plots 3D data on a sphere.

SPHERE3D plots 3D data on a spherical surface. Useful particularly in metrology of spherical surfaces, spherical wavefronts and

  • 11.4K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 30 Sep 2005

3D Arrow with many color/parameter options

Version 1.0.0.0 by Shawn Arseneau

Create a single 3D arrow in a volumized format

data using phong shading and MATLAB's lighting options.Example: arrow3D([0,0,0], [0,0,1],'red',0.82);%% Creates a single arrow starting at the origin with magnitude=1 along the z-axis, in red, with an

  • 5.2K (All time)
  • 4 (Last 30 days)
  • 4.7 / 5
  • Community
  • 18 Sep 2006

Plot a 3D array using patch

Version 1.11.0.0 by Adam Aitkenhead

Plotting a 3D array using a patch surface mesh

Plot a 3D array using patch=========================== Adam H. Aitkenhead adam.aitkenhead@christie.nhs.uk The Christie NHS Foundation Trust 17th August 2010 USAGE ===== This function enables a 3D

- PATCH_3Darray Plot a 3D array using patch to create a quadrangular surface mesh
  • 5K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 10 Feb 2012

VOXview

Version 2.0.0 by Tim

Voxelized volume visualization for 3D and 3D RGB arrays

VOXview is an easy-to-use function for visualizing small 3D scalar or RGB (i.e. MxNxO x3) arrays. This function was specifically designed to give the user independent control of voxel alpha

- VOXview demo: glowing lamp scene
- VOXview
  • 550 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 26 Mar 2021

Load more