%# create fan-shaped coordinates
[R,PHI] = meshgrid(linspace(1,2,5), linspace(0,pi/2,10));
X = R.*cos(PHI); Y = R.*sin(PHI);
X = X(:); Y = Y(:);
num = numel(X);
%# images at each point (they don't have to be the same)
img = imread('coins.png');
img = repmat({img}, [num 1]);
%# plot scatter of images
SCALE = 0.2; %# image size along the biggest dimension
figure
for i=1:num
%# compute XData/YData vectors of each image
[h w] = size(img{i});
if h>w
scaleY = SCALE;
scaleX = SCALE * w/h;
else
scaleX = SCALE;
scaleY = SCALE * h/w;
end
xx = linspace(-scaleX/2, scaleX/2, h) + X(i);
yy = linspace(-scaleY/2, scaleY/2, w) + Y(i);
%# note: we are using the low-level syntax of the function
image('XData',xx, 'YData',yy, 'CData',img{i}, 'CDataMapping','scaled')
end
axis image, axis ij
colormap gray, colorbar
set(gca, 'CLimMode','auto')
insert images to a plot
相關文章
- Kubernetes – Images
- Android imagesAndroid
- Lets-Plot-KotlinKotlin
- Avoid autocompleting of the dates in plot
- Oracle中的insert/insert all/insert firstOracle
- 16-containers-ImagesAI
- Pythonic AI generation of images and videosPythonAIIDE
- Matplotlib.pyplot.plot 繪圖繪圖
- insert into select
- insert all和insert first語句的用法
- SQL__INSERTSQL
- E - Insert or Erase
- 影像降噪之Unprocessing Images for Learned Raw Denoising
- Segmentation of retinal OCT images using a random forest classifierSegmentationrandomREST
- leetcode–57–Insert IntervalLeetCode
- SQLite Insert 語句SQLite
- ArrayList宣告,Add(), Insert();
- 《EARLY METHODS FOR DETECTING ADVERSARIAL IMAGES》閱讀筆記筆記
- [MATLAB] plot畫圖簡單細節隨記Matlab
- Pandas高階教程之:plot畫圖詳解
- LeetCode之Insert Interval(Kotlin)LeetCodeKotlin
- Leetcode 35 Search Insert PositionLeetCode
- SQLite 之 INSERT OR REPLACE使用SQLite
- [20180907]insert+with+select.txt
- insert和insertSelective區別
- lightdb -- merge into insert 相容 OracleOracle
- mysql insert的特殊用法MySql
- 1089 Insert or Merge (25分)
- mysql insert導致死鎖MySql
- Oracle-insert into加日期Oracle
- insert()與substr()函式函式
- SoviChart資料視覺化:散點圖(Scatter plot)視覺化
- 鍵盤insert操作怎麼取消?電腦鍵盤insert操作取消教程
- 故障分析 | 從 Insert 併發死鎖分析 Insert 加鎖原始碼邏輯原始碼
- 轉載 個人用 How To Remove Docker Images, Containers, and VolumesREMDockerAI
- 《Density Map Guided Object Detection in Aerial Images》論文10問GUIIDEObject
- R視覺化:plot函式基礎操作,小白教程視覺化函式
- 【MySQL】四、Insert buffer 漫談MySql