Parent Directory
|
Revision Log
|
Revision Graph
- add help sections at the top.
1 | gforget | 1.1 | function [xx,yy] = m_ll2xy(x,y,varargin) |
2 | gforget | 1.2 | %overloaded gcmfaces m_ll2xy function : |
3 | % simply calls m_map's m_ll2xy function for each face data | ||
4 | % if the first two arguments (lon and lat) are gcmfaces objects | ||
5 | % passing over the other arguments | ||
6 | gforget | 1.1 | |
7 | xx=x; yy=y; | ||
8 | |||
9 | for iFace=1:x.nFaces; | ||
10 | iF=num2str(iFace); | ||
11 | eval(['[tmpx,tmpy]=m_ll2xy(x.f' iF ',y.f' iF ',varargin{:});']); | ||
12 | eval(['xx.f' iF '=tmpx; yy.f' iF '=tmpy;']); | ||
13 | end; | ||
14 | |||
15 |
ViewVC Help | |
Powered by ViewVC 1.1.22 |