NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/plots/axisnotsotight.m

Revision 495 (checked in by cbc, 12 years ago)

Initial import of Stark code.

Line 
1 % script axisnotsotight;
2 %
3 % axis tight, with 5% of the data window added back in on all edges
4 %
5
6 xl=get(gca,'xlim'); yl=get(gca,'ylim');
7 dx=diff(xl); dy=diff(yl);
8
9 set(gca,'xlim',[xl(1)-dx/20 xl(2)+dx/20],'ylim',[yl(1)-dy/20 yl(2)+dy/20]);
Note: See TracBrowser for help on using the browser.