Graphics |
Multiple Axes for Different Scaling
You can create multiple axes to display graphics objects with different scaling without changing the data that defines these objects (which would be required to display them in a single axes).
h(1) = axes('Position',[0 0 1 1]); sphere h(2) = axes('Position',[0 0 .4 .6]); sphere h(3) = axes('Position',[0 .5 .5 .5]); sphere h(4) = axes('Position',[.5 0 .4 .4]); sphere h(5) = axes('Position',[.5 .5 .5 .3]); sphere set(h,'Visible','off')
Each sphere is defined by the same data. However, since the parent axes occupy regions of different size and location, the spheres appear to be different sizes and shapes.
Placing Text Outside the Axes | Individual Axis Control |