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
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:
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.
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
96 Helvetica ISOLatin1Encoding Helvetica Helvetica
%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
--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?
16 May 2013
Exports figures nicely to a number of vector & bitmap formats.