How do I create a plot within another plot?

1 回表示 (過去 30 日間)
Yonghe
Yonghe 2011 年 1 月 28 日

Recently I saw a picture like this in a paper:

The main picture is a plot of measured data and its linear fitted line. the upper right part is the distribution (histogram) of the data around the line.

My question: Is there any way to generate such picture in Matlab?

採用された回答

Doug Eastman
Doug Eastman 2011 年 1 月 28 日
Yes you can create that figure in MATLAB. You can create a rotated inset axes by adjusting the axes Position and CameraUpVector properties. To get started you may want to look at the following MATLAB Central submission for creating an inset figure: http://www.mathworks.com/matlabcentral/fileexchange/28549-figure-inset.
  1 件のコメント
Yonghe
Yonghe 2011 年 1 月 28 日
Thank you very much!

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by