I woulkd like to create a video where a plot is created based on the .txt file read. The plot should have the 'main screen' and a 'zoomed screen' in the conner and the variable should be recorded simultaneously in both plots.
Im sharing my current example.
Is it possible to specify the target plot for the variable? or any other suggestion?
fid = figure;
h=axes('Parent', fid, 'position',[0.5 0.2 0.3 0.3]);
writerObj = VideoWriter('out_movie_540_.avi');
writerObj.FrameRate = 540/4;
frame = getframe(gcf);