comparison scripts/plot/__go_draw_axes__.m @ 7190:9e7377f41b78

[project @ 2007-11-26 21:24:02 by dbateman]
author dbateman
date Mon, 26 Nov 2007 21:24:02 +0000
parents e8d953d03f6a
children b48a21816f2e
comparison
equal deleted inserted replaced
7189:e8d953d03f6a 7190:9e7377f41b78
1664 [s, e, m] = regexp(str,'\\([a-zA-Z]+|0)','start','end','matches'); 1664 [s, e, m] = regexp(str,'\\([a-zA-Z]+|0)','start','end','matches');
1665 1665
1666 for i = length (s) : -1 : 1 1666 for i = length (s) : -1 : 1
1667 ## special case for "\0" and replace with "{/Symbol \306}' 1667 ## special case for "\0" and replace with "{/Symbol \306}'
1668 if (strncmp (m{i}, '\0', 2)) 1668 if (strncmp (m{i}, '\0', 2))
1669 str = strcat (str(1:s(i) - 1), '{\Symbol \306}', str(s(i) + 2:end)); 1669 str = strcat (str(1:s(i) - 1), '{/Symbol \306}', str(s(i) + 2:end));
1670 else 1670 else
1671 f = m{i}(2:end); 1671 f = m{i}(2:end);
1672 if (isfield (sym, f)) 1672 if (isfield (sym, f))
1673 g = getfield(sym, f); 1673 g = getfield(sym, f);
1674 ## FIXME The symbol font doesn't seem to support bold or italic 1674 ## FIXME The symbol font doesn't seem to support bold or italic
1854 sym.ni = '{/Symbol \047}'; 1854 sym.ni = '{/Symbol \047}';
1855 sym.cong = '{/Symbol \100}'; 1855 sym.cong = '{/Symbol \100}';
1856 sym.Delta = '{/Symbol D}'; 1856 sym.Delta = '{/Symbol D}';
1857 sym.Phi = '{/Symbol F}'; 1857 sym.Phi = '{/Symbol F}';
1858 sym.Gamma = '/Symbol G}'; 1858 sym.Gamma = '/Symbol G}';
1859 sym.vartheta = '{\Symbol J}'; 1859 sym.vartheta = '{/Symbol J}';
1860 sym.Lambda = '{/Symbol L}'; 1860 sym.Lambda = '{/Symbol L}';
1861 sym.Pi = '{/Symbol P}'; 1861 sym.Pi = '{/Symbol P}';
1862 sym.Theta = '{/Symbol Q}'; 1862 sym.Theta = '{/Symbol Q}';
1863 sym.Sigma = '{/Symbol S}'; 1863 sym.Sigma = '{/Symbol S}';
1864 sym.varsigma = '{/Symbol V}'; 1864 sym.varsigma = '{/Symbol V}';