Changeset 11169
- Timestamp:
- 01/23/12 08:22:01 (13 years ago)
- Location:
- issm/trunk-jpl/src/m/model/plot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/model/plot/applyoptions.m
r9734 r11169 424 424 [mdx mdy]=basinzoom(options); 425 425 else 426 mdx=[min(md.mesh.x) max(md.mesh.x)]; 427 mdy=[min(md.mesh.y) max(md.mesh.y)]; 426 offset=3*10^4; 427 mdx=[min(md.mesh.x)-offset max(md.mesh.x)+offset]; 428 mdy=[min(md.mesh.y)-offset max(md.mesh.y)+offset]; 428 429 end 429 430 line(A.x,A.y,ones(size(A.x)),'color','b'); -
issm/trunk-jpl/src/m/model/plot/plot_scatter.m
r11161 r11169 21 21 %generate levels 22 22 if (alreadyplot), 23 h=colorbar; 23 phch = get(findall(gcf,'type','image','tag','TMW_COLORBAR'),{'parent'}); 24 h = phch{1}; 24 25 ylim=get(h,'YLim'); 25 26 palette=colormap; … … 50 51 end 51 52 53 alreadyplot 52 54 if ~alreadyplot, 53 55 % format the colorbar
Note:
See TracChangeset
for help on using the changeset viewer.