Changeset 919 for trunk/src/set_grid.m


Ignore:
Timestamp:
Jun 26, 2015, 5:14:45 PM (9 years ago)
Author:
sommeria
Message:

netcdf files stored in 32 bits (not double)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_grid.m

    r918 r919  
    194194YA=grid_pix_A(:,2);
    195195unitcolumn=32*ones(size(XA));
    196 Xchar=num2str(XA,2);
     196Xchar=num2str(XA,'%1.1f');% write x coordinate in px, rounded at the first decimal
    197197blanc=char(unitcolumn);
    198 Ychar=num2str(YA,2);
     198Ychar=num2str(YA,'%1.1f');% write y coordinate in px, rounded at the first decimal
    199199tete=['1 ' num2str(nbpointsA(1))];
    200200txt=[Xchar blanc Ychar];
Note: See TracChangeset for help on using the changeset viewer.