フィルターのクリア

Copy 3 UIaxes into one figure

8 ビュー (過去 30 日間)
Govind Sankar Madhavan Pillai Ramachandran Nair
回答済み: Mario Malic 2023 年 9 月 7 日
I have a plot in MATLAB app designer with 3 UIaxes which means I have 3 plots actually. I want copy all 3 of them into one figure so that I can save all of them together. How can I do that. Thank you.
  4 件のコメント
Mario Malic
Mario Malic 2023 年 9 月 6 日
編集済み: Mario Malic 2023 年 9 月 6 日
In this case, then I would export three pictures with exportgraphics as an image format and just combine them in one image by loading each of them in a variable and align them next to each other.
Otherwise create a separate tab with different uiaxes that you would plot the results to and use exportgrapics to export the complete uifigure.
Govind Sankar Madhavan Pillai Ramachandran Nair
In this case, then I would export three pictures with exportgraphics as an image format and just combine them in one image by loading each of them in a variable and align them next to each other.
do you know any link on how to do this. I cant find any.

サインインしてコメントする。

回答 (1 件)

Mario Malic
Mario Malic 2023 年 9 月 7 日
Hey,
Solution for combining the image is below. If you need some space in between, you can add white space, by creating array that corresponds to white color with matrix values of 255 for each channel (R, G, B) values.
image = imread("DistortedImage.png");
combImage = [image, image];
imshow(combImage)
imwrite(combImage, "img.png")

カテゴリ

Help Center および File ExchangeImages についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by