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

Skip to content

Commit 1792984

Browse files
committed
clean up strip style comment and matlab-line-style colors
1 parent 36b81e2 commit 1792984

File tree

4 files changed

+19
-8
lines changed
  • hard-coded/chart-types

4 files changed

+19
-8
lines changed

hard-coded/chart-types/bubble/matlab-bubble-chart/script.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
scatter(x, y, r, c, 'filled', 'MarkerEdgeColor', 'k')
1111

1212
%--PLOTLY--%
13-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
13+
14+
% strip = false => preserve MATLAB style!
15+
16+
response = fig2plotly(fig, 'strip', false);
1417
plotly_url = response.url;

hard-coded/chart-types/line_exclusive/matlab-line-markers/script.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
x, y4, 'ms', x, y5, 'yd', x, y6, 'kv');
1717

1818
%--PLOTLY--%
19-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
19+
20+
% strip = false => preserve MATLAB style!
21+
22+
response = fig2plotly(fig, 'strip', false);
2023
plotly_url = response.url;

hard-coded/chart-types/line_exclusive/matlab-line-style/script.m

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
fig = figure;
99
hold on
1010

11-
plot(x,y1,'Color',[150 244 100]/255,'LineWidth',3,'LineStyle','-.');
12-
plot(x,y2,'Color',[201 24 100]/255,'LineWidth',3,'LineStyle','--');
13-
plot(x,y3,'Color',[21 24 250]/255,'LineWidth',2,'LineStyle','o');
14-
11+
plot(x,y1,'Color',[50 204 10]/255,'LineWidth',3,'LineStyle','-.');
12+
plot(x,y2,'Color',[21 24 100]/255,'LineWidth',3,'LineStyle','--');
13+
plot(x,y3,'Color',[201 24 50]/255,'LineWidth',2,'LineStyle','o');
1514

1615
%--PLOTLY--%
17-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
16+
17+
% strip = false => preserve MATLAB style!
18+
19+
response = fig2plotly(fig, 'strip', false);
1820
plotly_url = response.url;

hard-coded/chart-types/scatter_exclusive/matlab-scatter-plot/script.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
ylabel('Latitude');
1414

1515
%--PLOTLY--%
16-
response = fig2plotly(fig, 'strip', false); %<----- preserve MATLAB style!
16+
17+
% strip = false => preserve MATLAB style!
18+
19+
response = fig2plotly(fig, 'strip', false);
1720
plotly_url = response.url;

0 commit comments

Comments
 (0)