% ADDLINE_Z adds solid color line(s) in the axes passed by handle h_ax
% both 'value' and 'color' can be an array
% 'color' is set to 'k' if not given
%
% Syntax:
% addline_z(h_ax,xy,value,color); %% tested on MATLAB 7.9.0 (R2009b)
% e.g.:
% figure;
% x=[0:0.01:10];
% y=sin(x);
% plot(x,y);
% addline_z(get(gcf,'Children'),'y',[0.2,0.5,0.8],{'r','g','b'});
%
% Description:
% Too simple to be stated here.
%
% Programmed and Copyright by J. Zhang: xyzhangj@physics.ucla.edu
% $Version=0.1 $Date=2010/09/07
引用格式
Semi (2024). Add line(s) to 2D plots with specified colors (https://www.mathworks.com/matlabcentral/fileexchange/28668-add-line-s-to-2d-plots-with-specified-colors), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |