time series plot on google earth using matlab

I have three sets of data:

  1. time
  2. longitude
  3. latitude

I would like to plot this on google earth using google earth toolbox for matlab, what i need is when i move the time slider a line should be drawn on google earth.

I tried this

   x  = [longitude, latitude];
   y = time;
   kmlStr = ge_plot(x,y);

But an error occured. On the other hand ge_gplot does not make sense for this.

Is there a way i can do this timeseries plot using google earth toolbox?


Create two vectors: one for x (longitude), one for y (latitude). ge_plot(x,y) will draw a line connecting each pair of (x,y) points in these vectors.

If you want to draw the line as a slider advances, then you need to make use of a callback function. In this function, do ge_plot(x(1:ind), y(1:ind) ) where ind is determined by the "time" value of the slider.

Need Your Help

Pull-down-pull-up Expandable ListView

android listview widget expandablelistview pull-to-refresh

I'm currently building an android app, with expandable list view. I'm using the library from https://github.com/chrisbanes/Android-PullToRefresh

How can I merge and add values in a column of csv if all the other columns are same?

excel csv

I have a csv file where I am having multiple columns. First n columns are string and last (n+1)th column is an integer. I want to merge all the rows where first n columns are same and put the added...