Skip to content

Commit d98035c

Browse files
committed
replace all plotlyfigure w plotlyfig
1 parent de179e5 commit d98035c

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

plotly/fig2plotly.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
% [OUTPUT]:
2727

28-
% p - plotlyfigure object
28+
% p - plotlyfig object
2929

3030
% [ADDITIONAL RESOURCES]:
3131

@@ -50,4 +50,4 @@
5050

5151
%-------------------------------------------------------------------------%
5252

53-
end
53+
end

plotly/getplotlyfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
% [OUTPUT]:
1717

18-
% p - plotlyfigure object
18+
% p - plotlyfig object
1919

2020
% [EXAMPLE]:
2121

plotly/plotlyfig.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
obj.UserData.ApiKey,...
4444
obj.UserData.PlotlyDomain] = signin;
4545
catch
46-
errkey = 'plotlyfigureConstructor:notSignedIn';
46+
errkey = 'plotlyfigConstructor:notSignedIn';
4747
error(errkey, plotlymsg(errkey));
4848
end
4949

@@ -112,7 +112,7 @@
112112
updatekey = true;
113113
end
114114
else
115-
errkey = 'plotlyfigureConstructor:invalidInputs';
115+
errkey = 'plotlyfigConstructor:invalidInputs';
116116
error(errkey , plotlymsg(errkey));
117117
end
118118

@@ -131,7 +131,7 @@
131131

132132
% check for proper property/value structure
133133
if mod(length(parseinit:nargin),2) ~= 0
134-
errkey = 'plotlyfigureConstructor:invalidInputs';
134+
errkey = 'plotlyfigConstructor:invalidInputs';
135135
error(errkey , plotlymsg(errkey));
136136
end
137137

@@ -825,4 +825,4 @@ function delete(obj)
825825
end
826826
end
827827
end
828-
end
828+
end
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
function errormsg = plotlymsg(key)
22
switch key
3-
%--plotlyfigure constructor--%
4-
case 'plotlyfigureConstructor:notSignedIn'
5-
errormsg = '\nOops! You must be signed in to initialize a plotlyfigure object.\n';
6-
case 'plotlyfigureConstructor:invalidInputs'
7-
errormsg = ['\nOops! It appears that you did not initialize the plotlyfigure object using the\n', ...
8-
'required: >> plotlyfigure(handle [optional],''property'',''value'',...) \n',...
3+
%--plotlyfig constructor--%
4+
case 'plotlyfigConstructor:notSignedIn'
5+
errormsg = '\nOops! You must be signed in to initialize a plotlyfig object.\n';
6+
case 'plotlyfigConstructor:invalidInputs'
7+
errormsg = ['\nOops! It appears that you did not initialize the plotlyfig object using the\n', ...
8+
'required: >> plotlyfig(handle [optional],''property'',''value'',...) \n',...
99
'input structure. Please try again or contact chuck@plot.ly for any additional help!\n\n'];
1010
%--saveplotlyfig invocation--%;
1111
case 'plotlySaveImage:invalidInputs'
@@ -15,4 +15,4 @@
1515
'Please try again or contact chuck@plot.ly for any additional help!\n\n'];
1616

1717
end
18-
end
18+
end

0 commit comments

Comments
 (0)