How do I create a plot within another plot?

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일

5 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

제품

태그

질문:

2011년 1월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by