MATLAB Answers

How to display two animation in one plot?

2 views (last 30 days)
Wang Benliang
Wang Benliang on 24 Jan 2020
Answered: KSSV on 24 Jan 2020
I want to display two animation, one is the global vision of animation, other is local vision in the bottom right corner.
a static situation like:
  1. clc
  2. close all
  3. t=0:.1:2*pi;
  4. plot(t,sin(t),'k');
  5. axes('position',[0.55,0.55,0.3,0.3]);
  6. plot(t,sin(t), 'b');


Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by