Concatenate multiple plots next to each other

版本 1.0.2 (2.0 KB) 作者: Ahmed Mahfouz
Concatenate multiple plots from left to right with fixed y limits
59.0 次下载
更新时间 2019/5/11

查看许可证

CONCATENATE Concatenates multiple plots from left to right.
CONCATENATE(x,y,y_lim) plots each element (vector) of the cell array X
with the corresponding element(vector) of the cell array Y when Y is a
1-D cell array(i.e. the length of the cell array X has to be exactly
the same as the length of the cell array Y)

When yeach ele is not a 1-D cell array, but rather a 2-D cell array, CONCATENATE(x,y,y_lim)
plots each element of the 1-D cell array X with the corresponding element
of the cell array Y through the second dimension and plots the elements
of Y in the first dimension over (i.e. the length of the cell array X
has to be exactly the same as SIZE(Y,2))

CONCATENATE(x,y,y_lim,len) plots each element (vector) of the cell array X
with the corresponding element(vector) of the cell array Y, with each
plot having the corresponding size weight in LEN
LEN: is a 1-D vector containing the size of each of the concatenated
plot, the summation of the elements in LEN has to be exactly 1.
example: LEN=[0.25, 0.5, 0.25] for three concatenated plots

引用格式

Ahmed Mahfouz (2024). Concatenate multiple plots next to each other (https://www.mathworks.com/matlabcentral/fileexchange/71517-concatenate-multiple-plots-next-to-each-other), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graphics Objects 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.2

Examples added

1.0.1

Tags added

1.0.0