We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using polarplot() to plot a line in polar coordinates, an error is being printed.
polarplot()
theta = 0:0.01:2*pi; rho = sin(2*theta).*cos(2*theta); polarplot(theta,rho) 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 untitled10 (line 6) fig2plotly(gcf, 'offline', false);
Expected plot:
Examples on using polarplot() can be found on: https://www.mathworks.com/help/matlab/ref/polarplot.html#responsive_offcanvas
The text was updated successfully, but these errors were encountered:
fix issue #240
b64e170
PR #343 fix this issue #240.
to test it please use following code:
theta = 0:0.01:2*pi; rho = sin(2*theta).*cos(2*theta); polarplot(theta,rho) fig2plotly(gcf, 'offline', 0, 'TreatAs', 'polarplot');
NOTE: it is necessary to use TreatAs Plot Option as 'polarplot'
TreatAs Plot Option
'polarplot'
results looks as follow
Sorry, something went wrong.
gilbertogalvis
No branches or pull requests
When using
polarplot()
to plot a line in polar coordinates, an error is being printed.The previous code prints the following error:
Expected plot:

Examples on using
polarplot()
can be found on:https://www.mathworks.com/help/matlab/ref/polarplot.html#responsive_offcanvas
The text was updated successfully, but these errors were encountered: