Home > UnioviSOM-Oficial > plotcolor.m

plotcolor

PURPOSE ^

PLOTCOLOR linear plot of x versus y using color coding for z

SYNOPSIS ^

function plotcolor(x,y,z,minz,maxz,linewidth)

DESCRIPTION ^

 PLOTCOLOR linear plot of x versus y using color coding for z 

 CALLS
 plotcolor(x,y,z,minz,maxz,linewidth)

 INPUTS
   x: horizontal variabl [1xN]
   y: vertical variable
   z: color variable
   minz: bottom value of color scale (optional)
   maxz: top    value of color scale (optional)
   linewidth: width of the plot line

 EXAMPLES
   figure(1);
   clf;
   x = linspace(0,10,1000); 
   y = sin(x); 
   z = cos(3*x); 
   plotcolor(x,y,z,-2,2);
   colorbar;

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 21-Apr-2017 11:56:21 by m2html © 2005