Changeset 1294
- Timestamp:
- 07/10/09 16:29:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Exp/expmaster.m
r1087 r1294 68 68 if ~isempty(get(0,'children')),%if there is already a figure (return the number of opened figures) 69 69 set(gcf,'Renderer','zbuffer'); %fixes a bug on Mac OS X (not needed in future Matlab version) 70 P=get(gcf,'position'); 70 71 F=getframe(gca); 71 72 F=F.cdata; … … 77 78 y_m=linspace(ylim(2),ylim(1),size(F,1)); %getframe reverse axis... 78 79 %plot the data in another figure 79 figure 80 figure; set(gcf,'position',P); 80 81 imagesc(x_m,y_m,F); set(gca,'Ydir','normal'); 81 82 prevplot=1;
Note:
See TracChangeset
for help on using the changeset viewer.