show & scroll - Visualize arbitrary N-dimensional arrays

버전 1.0 (30.1 KB) 작성자: Vladimir Golkov
Visualization functions for 3D, 4D, 5D and arbitrary N-D arrays
다운로드 수: 456
업데이트 날짜: 2016/7/1

라이선스 보기

Powerful visualization for numerical arrays of arbitrary dimensionality. Data can be 3D, 4D, 5D or arbitrary N-dimensional arrays.
Dimensions 1 and 2 are arranged as in images, dimensions 3 and 4 can be optionally tiled (see figure and see examples below), all trailing dimensions can be scrolled through using the mouse wheel and the keyboard (e.g. +/- keys for dimension 5, "a"/"q" keys for dimension 6, "s"/"w" keys for dimension 7 etc.)

Additional functionality:
* Several figure windows can be switched between using arrow keys
* Array coordinates and values can be explored using the mouse cursor
* Color axis scaling can be controlled using Shift+Mousewheel, Ctrl+Mousewheel, Ctrl+Shift+Mousewheel, Alt+Mousewheel
* Complex-valued arrays are supported (requires FileExchange submission 20292 "hsl2rgb and rgb2hsl conversion")

Examples:

% 5-D array of size 10x10x10x10x10
A=randn([10,10,10,10,10]);

show(A) % visualize using 4-D tiles
show(A,'3d') % visualize using 3-D tiles
scroll(A) % visualize using 2-D tiles

% complex-valued array
% (requires FileExchange submission 20292 "hsl2rgb and rgb2hsl conversion")
C=randn([10,10,10,10,10]).*exp(2*pi*1i*rand([10,10,10,10,10]));

show(C) % encode magnitude as brightness and complex phase as color hue
showm(C) % show magnitude only
show(C,0) % show magnitude only
show(C,1) % encode complex phase as color hue
show(C,2) % encode magnitude as colormap and phase as brightness
show(C,3) % phase only as color hue
show(C,4) % phase only as brightness

인용 양식

Vladimir Golkov (2024). show & scroll - Visualize arbitrary N-dimensional arrays (https://www.mathworks.com/matlabcentral/fileexchange/52374-show-scroll-visualize-arbitrary-n-dimensional-arrays), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2011b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Added image.
Removed external code from zip file.

1.0

Reformatted description.
Reformatted description.
included Alt+Mousewheel, Shift+Mousewheel, Ctrl+Mousewheel, Ctrl+Shift+Mousewheel
Reformatted description.