How do I create a plot within another plot?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Recently I saw a picture like this in a paper:
![](http://mywebspace.wisc.edu/yan27/web/pip.jpg)
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?
0 commentaires
Réponse acceptée
Doug Eastman
le 28 Jan 2011
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!