Skip to content

Conversation

gilbertogalvis
Copy link
Contributor

This PR fix the 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'

results looks as follow

Screen Shot 2021-08-14 at 3 26 36 PM

Screen Shot 2021-08-14 at 3 27 09 PM

@VolKa79
Copy link

VolKa79 commented Aug 16, 2021

Getting warnings:
catch at line 643 in plotlyfog.m file
catch at line 155 in updateData.m file
catch at line 155 in updateData.m file
catch at line 660 in plotlyfog.m file
catch at line 671 in plotlyfog.m file

but as understood its for future TODO.
is240fixed

Matlab figure doesnt have angle mark while plotly does, but think its even looks better

@gilbertogalvis gilbertogalvis merged commit 171a98a into master Aug 17, 2021
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

Successfully merging this pull request may close these issues.

3 participants