Closed
Description
When using geoplot()
to plot a line in geographic axes, an error is being printed.
latSeattle = 47.62;
lonSeattle = -122.33;
latAnchorage = 61.20;
lonAnchorage = -149.9;
geoplot([latSeattle latAnchorage],[lonSeattle lonAnchorage],'g-*')
geolimits([45 62],[-149 -123])
fig2plotly(gcf, 'offline', false);
The previous code prints the following error:
Error using response_handler (line
31)
Expecting (x, y) pairs
Error in makecall (line 32)
response_handler(resp);
Error in plotly (line 28)
response = makecall(args, origin,
structargs);
Error in plotlyfig/plotly (line 449)
response =
plotly(obj.data,
args);
Error in fig2plotly (line 49)
p.plotly;
Error in untitled7 (line 12)
fig2plotly(gcf, 'offline', false);
Examples on using geoplot()
can be found on:
https://www.mathworks.com/help/matlab/ref/geoplot.html#mw_5da29e5a-1b0f-436b-8bc0-74b5daa7ddde
Metadata
Metadata
Assignees
Labels
No labels