simpleAxis

版本 1.0.0.0 (2.0 KB) 作者: Matthew Kelly
Replaces default axis with two lines, at specified locations.
48.0 次下载
更新时间 2015/12/30

查看许可证

% simpleAxis(extents, yLevel, xLevel, lineWidth, lineColor)
%
% This function replaces the current (labeled) axis with a simplified axis
% made up of two straight lines. This is designed to be used when
% generating figures for papers where the axis labels are not important or
% will be added through post processing.
%
% INPUTS:
% extents = [xLow, xUpp, yLow, yUpp] = axis extents
% yLevel = y-intercept for the x-axis. Default behavior: ( set to [] )
% if yLow < 0 < yUpp --> yLevel = 0
% else yLevel = yLow
% xLevel = x-intercept for the y-axis. Default behavior: ( set to [] )
% if xLow < 0 < xUpp --> xLevel = 0
% else xLevel = xLow
% lineWidth = axis line width. Default: 1
% lineColor = axis line color. Default: [0,0,0]
%

引用格式

Matthew Kelly (2024). simpleAxis (https://www.mathworks.com/matlabcentral/fileexchange/54676-simpleaxis), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
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