Skip to content

Instantly share code, notes, and snippets.

@ssgkd
Created April 12, 2019 13:53
x1 = linspace(0,1);
y1 = sin(2*pi*x1);
x2=1:10;
y2=x2*2;
plot(x1,y1)
grid on;
axes('Position',[.7 .7 .2 .2])
box on;
plot(x2,y2, 'b-', 'LineWidth', 2)
grid on;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment