% Purpose % copy grid information including coordinates value of one % variable to that of another variable. % % Synopsis % mexeps('copygrid',varcode1, varcode2) % % Description % It copies grid information including coordinates value of one % variable, refered to by varconde1, to that of another variable, % refered to by varcode2. Note: The second variable, varcode2, % is not defined in epic.key file, it must be defined (with % 'setvar' operation) before using 'copygrid'. % % Examples % Open a data file for editing: copy axis of an old variable to % that of the new one. % % filename = mexeps('opene','edit_eps.cdf') % varlist = mexeps('varlist'); % varcode1 = varlist(1); % varcode2 = 320; % new variable code % % % copy the axis value of variable(1) to new variable % % since the new variable will use the same axis. % mexeps('copygrid',varcode1, varcode2); % ... % % See Also % setvar %