
3D colored line plot 1.0 File ID: 86620 


 3D colored line plot 1.0 License: Shareware File Size: 10.0 KB Downloads: 5
Submit Rating: 



3D colored line plot 1.0 Description 

Description: plots a 3D "line" with cdata as color Makes a surface object and the colouring is controlled by the colormap.
Example: v_start = [2 1 8]; % m/s g = 9.81; % m/(s^2) t_impact = 2*v_start(3)/g; % s t = [0:t_impact/100:t_impact]'; % s x = v_start(1)*t; % m y = v_start(2)*t; % m z = v_start(3)*t1/2*g*t.^2; % m velocity = ([[x(2:numel(t)) y(2:numel(t)) z(2:numel(t))][x(1:numel(t)1) y(1:numel(t)1) z(1:numel(t)1)];[0 0 0]]); % m/s speed = sqrt(sum(velocity.^2,2)); % m/s color_line3(x,y,z,speed); axis equal vis3d; view(15,15); title('trajectory of a projectile, color = speed'); axis equal vis3d; view(15,15); colorbar 
More Similar Code 

This is an example of how to create an line plot in MATLABdlTÂ«.
Read about the plot function in the MATLABdlTÂ« documentation.
Generates the rototranslation 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 coordinates. SYNTAX 1: ...
This package contains three files:
pptime.m : main file, makes a colored phase plot. Color represents time.
pptime_demo.m : demo file, run first in order to see how the program works
pend1.m : odefun for damped...
 Plot arithmetic and geometric Brownian motions  Plot Brownian bridges, 2D and 3D Brownian motions  Plot some random paths for the the interest spot rate: The two models you can chose from are the Vasicek and the Cox...
PLOTMD(AX, X, VARARGIN) plots the points in matrix X in the axes with handle AX using the plot formatting options in VARARGIN. X must be a matrix whose columns are the 2D or 3D vectors to plot. If the column vectors are Ndimensional, then only...
Syntaxi provides a way to format code snippets in text (e.g. in a weblog) into syntax colored, line numbered, and line wrapped HTML for display on a webpage. It uses the Syntax library to do the tokenization for syntax coloring.
CoolStrip is a single level vertical menu. It supports unlimited links and has a number of user feedback options. It features sliding arrow, selector bars, separate images for each entry, sounds, colored line and background strip of links with a...
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 the LINE function a PATCH surface is generated....
plots a 2D "line" with cdata as color Makes 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),'*')
Graphs a 3 dimensional logarithmic of a function named F(Theta,Phi), theta the elevation angle and phi the rotational angle. Converts to Cartesian coordinates and plots a surface plot with color pattern radiating from the origin.
Due my... 
User Review for 3D colored line plot 
