Changeset 1294


Ignore:
Timestamp:
07/10/09 16:29:18 (15 years ago)
Author:
Mathieu Morlighem
Message:

superimpose figures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/Exp/expmaster.m

    r1087 r1294  
    6868if ~isempty(get(0,'children')),%if there is already a figure (return the number of opened figures)
    6969        set(gcf,'Renderer','zbuffer'); %fixes a bug on Mac OS X (not needed in future Matlab version)
     70        P=get(gcf,'position');
    7071        F=getframe(gca);
    7172        F=F.cdata;
     
    7778        y_m=linspace(ylim(2),ylim(1),size(F,1)); %getframe reverse axis...
    7879        %plot the data in another figure
    79         figure
     80        figure; set(gcf,'position',P);
    8081        imagesc(x_m,y_m,F); set(gca,'Ydir','normal');
    8182        prevplot=1;
Note: See TracChangeset for help on using the changeset viewer.