16,963 results
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 =
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
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
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
MatDRAM is a pure-MATLAB Adaptive Markov Chain Monte Carlo simulation and visualization library.
Color Browser with dictionary, colorBlind correction & Philips Hue control
Guaranteed Automatic Integration Library
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
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
3D scatter plot
This is an easily usable 3D scatter plot function. Highly compatible with octave.
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
JAABA: The Janelia Automatic Animal Behavior Annotator
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.
CIAtah is a software package for calcium imaging analysis of one- and two-photon imaging datasets. https://github.com/bahanonu/ciatah
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
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.
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
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
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
a fully interactive canvas that provides tools to produce professional-looking schematic diagrams.
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
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
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 -
Displays sprintf-formatted strings in the Command Window using the specified color/underline/bold style
cprintf command.STYLE colors can be specified in 3 variants: [0.1, 0.7, 0.3] - standard Matlab RGB color format in the range 0.0-1.0 [26, 178, 76] - numeric RGB values in the range 0-255 '#1ab34d
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
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
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
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),'*')
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
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
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
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
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
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
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
Converts 3D and 2D MATLAB plots to the scalable vector format (SVG).
Scalable Vector Graphics (SVG) Export of FiguresConverts 2D & 3D Matlab plots to the scalable vector format (SVG). This format is specified by W3C (http://www.w3.org) and can be viewed and
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
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.
3-d volume (voxel) rendering
An update to Joe Conti's popular vol3d function, allowing voxel colors and alpha values to be defined explicitly. Functionality is increased, but the function is entirely backwards compatible.In
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
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
Affine translates a 2D image or 3D volume.
This function makes it easy to translate a 2d image or 3d volume. The shifts do not need to be integer values. It was written so I could test image registration algorithms.Help:function Iout =
Surface from 3d points
Allows to extract manifold surface from 3d scattered points. Shape can even be non-convex but must represent a closed volume
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
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
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
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.
A collection of functions for 2D and 3D geometric computing (intersections, distance...) on various shapes: polygons, meshes, ellipsoids...
creation,manipulation and display of 2D and 3D shapes such as point sets, lines, ellipses, polygons, 3D polygonal meshes...The official homepage for the project is http://github.com/mattools/matGeom. A [user
The program plots convex linear closed regions in 2D/3D.
The program plots convex linear closed regions in 2D/3D. The region is a subset of R2 or R3 such that Ax>=b and lb<=x<=ub. It is also possible to plot points in the same plot.(See help
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 (
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
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.
Examples of 3D curves described in Chapter 7 of the book: "CRC Standard Curves and Surfaces"
Example of creating a 3D textured Earth globe
Example of creating a 3D textured Earth globe.
Draw a 3D arrow. Easily specify size, color and even transparency.
This function draws a 3D arrow using a cylinder and cone patch. This allows the use of all patch properties including transparency. It can be used with default parameters (example 1) or user-defined
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
Conversion of a voxelised object contained within a 3D logical array into an STL surface mesh.
Converting a 3D logical array into an STL surface mesh====================================================== Adam H. Aitkenhead adam.aitkenhead@christie.nhs.uk The Christie NHS Foundation Trust 24th
GINPUT3D allows you to ginput in xy, yz and zx plane of 3D plot, ginput can do that only in xy plane
In xy plane value of z is set to 0.In xz plane value of y is set to 0.In yz plane value of x is set to 0.IMPORTANT:works only in xy, yz and xz plane.Examples:[x,y,z] = ginput3d(5);
3D Volumetric fMRI visualization
View Demo on Youtube Here:https://youtu.be/l-8qO7uox_4Brief Painting Tutorial:https://youtu.be/SKra3QYvfG8Summary:Volumetric is a full application in Matlab designed to let you create and edit 3D