adding more traces to geoplot
17 views (last 30 days)
I would like to plot gps traces on map using geoplot function
My goal is to add traces to the plot without clearing the previous ones. Unfortunately hold on doesn't work for this kind of function.
the idea is the following one:
and so on
is it possible?
Pranjal Kaura on 26 Nov 2021
Please go through the examples mentioned in the 'geoplot' documentation to know more about adding multiple lines to a plot. Could you share more details regarding the issue you are facing because the 'hold' functionlaity seems to be working for me. Here's a code snippet that I ran:
latSeattle = 47.62;
lonSeattle = -122.33;
latAnchorage = 61.20;
lonAnchorage = -149.9;
geoplot([latSeattle latAnchorage],[lonSeattle lonAnchorage],'g-*')
geolimits([45 62],[-149 -123])
geoplot([latSeattle-4 latAnchorage],[lonSeattle lonAnchorage + 1],'r-+')
If you're using 'geoglobe' and 'geoplot3' functions, you can go through this link to know more about plotting multiple 3D plots.
Hope this helps!