Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix issue #437 #461

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

Merged
merged 1 commit into from
Oct 26, 2021
Merged

fix issue #437 #461

merged 1 commit into from
Oct 26, 2021

Conversation

gilbertogalvis
Copy link
Contributor

This PR fix the issues in issue #437 post

Test code 1

x = linspace(0,3*pi,200);
y = cos(x) + rand(1,200);
c = linspace(1,10,length(x));
scatter(x,y,[],c)

fig2plotly(gcf);

Screen Shot 2021-10-25 at 9 45 52 PM

Test code 2

x = linspace(0,3*pi,200);
y = cos(x) + rand(1,200);
sz = 25;
c = linspace(1,10,length(x));
scatter(x,y,sz,c,'filled')

fig2plotly(gcf);

Screen Shot 2021-10-25 at 9 46 17 PM

Test code 3

x = randn(1000,1);
y = randn(1000,1);
s = scatter(x,y,'filled');

distfromzero = sqrt(x.^2 + y.^2);
s.AlphaData = distfromzero;
s.MarkerFaceAlpha = 'flat';

fig2plotly(gcf);

Screen Shot 2021-10-25 at 9 46 46 PM

Test code 4

load seamount x y z;

fig = figure;
scatter(x, y, 10, z);

title('Undersea Elevation');
xlabel('Longitude');
ylabel('Latitude');

fig2plotly(gcf);

Screen Shot 2021-10-25 at 9 47 18 PM

@gilbertogalvis gilbertogalvis merged commit 565d8a0 into master Oct 26, 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.

2 participants