File Exchange

image thumbnail

MATLAB Plot Gallery - Plot in Plot

version 1.1.0.1 (28.6 KB) by

Create a plot in plot

9 Downloads

Updated

View License

This is an example of how to create an inset plot within another plot in MATLAB®.
Read about the "axes" function in the MATLAB documentation.
For more examples, go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html

Comments and Ratings (3)

>>x=linspace(-4*pi,4*pi,300);%产生300维向量x
>>y=sin(x)
>>plot(x,y)

Haitao Yang

Salim Arslan

Updates

1.1.0.1

Updated license

1.1

Updated screenshot.

MATLAB Release
MATLAB 8.4 (R2014b)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

html/