Skip to content
Snippets Groups Projects
BUGS 1.11 KiB
Newer Older
28/01/2010  J Grelet
--------------------
Probleme avec m_map et Matlab > R2009 32 bits
---------------------------------------------
This bugs on m_grip don't still exist under Linux platform 64 bits.
Message sent 01/27/2010 to rich@eos.ubc.ca
I use your m_map toolbox for several years but a discovered a pb under windows
and release from R2008b with m_grid function.
In line 345 and 419 I must cast xx and yy variable to double otherwise call text
function failed.
Yves Gouriou's avatar
Yves Gouriou committed

patch for m_grid (V1.4e):
Yves Gouriou's avatar
Yves Gouriou committed

ligne: 345
text(double(xx(k)),double(yy(k)),labs{k},'horizontal',horizk,'vertical',vertk, ...
     'rot',rotang(k),'fontsize',gfontsize*scl(k),'color',gcolor,...
     'tag','m_grid_xticklabel','fontname',gfontname);
Yves Gouriou's avatar
Yves Gouriou committed

ligne 419:
text(double(xx(k)),double(yy(k)),labs{k},'horizontal',horizk,'vertical',vertk,...
     'rot',rotang(k),'fontsize',gfontsize*scl(k),'color',gcolor,...
     'tag','m_grid_yticklabel','fontname',gfontname);
Under linux and win R2007b, variables has double type.
Yves Gouriou's avatar
Yves Gouriou committed

In the last package 1.4e, inside the file contents.m, Version number is still to
1.4d
Yves Gouriou's avatar
Yves Gouriou committed