I found a bug with the overlay function. If I try to add an overlay image with a path in the filename, it embeds the state path in the kml file, thus when I load the kmz file into Google Earth, it goes looking for the file at the stated path. It does not use the file embedded with the kmz file.
I found this function much better than the standard matlab functions. I also was able to read VOB files off a DVD. I modified it slightly to read my video as monochromatic, thus saving memory. It would be nice to add this functionallity to the standard release.
My data set is 1 hour average matrix and the concentrations are not constant. If I use a static number of levels it fails saying the interpolation requires two sample points in each dimension.
It seems like I will need to change the range based on the minimum and maximum values in each 1-hour data.
Any suggestions from anyone?
04 Feb 2014
KML Toolbox v2.7
Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more
BTW worked out how to get a colourbar
1. plot colour bar in standard matlab figure
2. save colour bar axis as a standalone image
3. write <ScreenOverlay> xml tags to the kml file referencing the standalone image