Thanks a lot for providing this package and I did not seem to have any problems with Arduino Uno.
However I was just wondering before getting Leonardo if the Matlab I/O package would work with it as apparently it doesn't behave exactly the same way as the older Arduinos do? Namely in regard to the DtrEnable: http://arduino.cc/forum/index.php?topic=140090.0
sum( (y-yhat).^2) could be replaced with (y-what)' * (y-what) for speedup as suggested there: http://www.mathworks.nl/matlabcentral/newsreader/view_thread/168821
Hi Devin,
Including the colorbar is not an implemented feature. The axes are included by plotting them in fig2u3d.m with the function plot_axes.
A suggestion would be to plot the colorbar within the axes (not as it is created by default, i.e., as a separate graphics object). An example which can be adapted according to your needs can be found here:
http://marine.rutgers.edu/~nstrands/MATLAB/googleplot/colorbarlegend.m
It looks like it needs some updating, but besides that it has the main idea of a colorbar comprised of patches. Then you can also select its preferred position and orientation.
Thanks for the idea, I will keep it mind for incorporating it in the next release.
Best,
Ioannis
Comment only
22 May 2013
freezeColors / unfreezeColors
Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images.
Awesome script! Works perfectly under Windows, but I have trouble to make it work with my Linux installation.
Here is the error returned:
Error using eps2pdf (line 107)
gs: /usr/local/share/matlab/R2013a/bin/glnxa64/libtiff.so.5: no version information available (required by /usr/lib/libgs.so.9)
Error: /undefined in /findfont
Operand stack:
96 Helvetica ISOLatin1Encoding Helvetica Helvetica
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop --nostringval-- 1899 1 3
%oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 1868 5 5 %oparray_pop
Dictionary stack:
--dict:1179/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)-- --dict:97/160(L)-- --dict:8/89(L)--
Current allocation mode is local
Current file position is 7119
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
What is happening?
5
16 May 2013
export_fig
Exports figures nicely to a number of vector & bitmap formats.
Comment only