Mercurial > hg > camir-aes2014
annotate core/tools/centeraxes_test.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 % Script for testing the centeraxes.m function |
wolffd@0 | 2 |
wolffd@0 | 3 clear |
wolffd@0 | 4 clf |
wolffd@0 | 5 clc |
wolffd@0 | 6 %subplot(211) |
wolffd@0 | 7 plot(-8:8, sqrt(5:21)); |
wolffd@0 | 8 set(gca,'ylim',[-4 5],'xlim',[-8 8],'xtick',-8:8,'ytick',-4:5) |
wolffd@0 | 9 xlabel('t'); |
wolffd@0 | 10 ylabel('y(t)') |
wolffd@0 | 11 thicklines(2); |
wolffd@0 | 12 |
wolffd@0 | 13 opt.fontname = 'helvetica'; |
wolffd@0 | 14 opt.fontsize = 8; |
wolffd@0 | 15 |
wolffd@0 | 16 %centeraxes(gca); |
wolffd@0 | 17 centeraxes(gca,opt); |