Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geoplot() not supported #237

Closed
xarico10 opened this issue Jul 30, 2021 · 1 comment
Closed

geoplot() not supported #237

xarico10 opened this issue Jul 30, 2021 · 1 comment
Assignees

Comments

@xarico10
Copy link
Contributor

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);

Expected plot:
Captura de Pantalla 2021-07-30 a la(s) 6 43 11 p  m

Examples on using geoplot() can be found on:
https://www.mathworks.com/help/matlab/ref/geoplot.html#mw_5da29e5a-1b0f-436b-8bc0-74b5daa7ddde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants