summaryrefslogtreecommitdiffhomepage
path: root/matlab.html.markdown
diff options
context:
space:
mode:
authorBohdan Shtepan <winsatana@ya.ru>2015-12-03 20:15:02 +0200
committerBohdan Shtepan <winsatana@ya.ru>2015-12-03 20:15:02 +0200
commit7272f6806005536fdf7520137b5fdeb861df113a (patch)
treeaec4c50790c56b8f937b7956dcd82f1d3fb4abcb /matlab.html.markdown
parent5cf95634321084fd104df23fa5a9fbb6167fbc21 (diff)
parent3e0216bbcc30e98b57bd39b27bafc78ceb5cbe7e (diff)
Merge remote-tracking branch 'refs/remotes/adambard/master'
Diffstat (limited to 'matlab.html.markdown')
-rw-r--r--matlab.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/matlab.html.markdown b/matlab.html.markdown
index 25f762bb..ddc0cb40 100644
--- a/matlab.html.markdown
+++ b/matlab.html.markdown
@@ -73,7 +73,7 @@ c = exp(a)*sin(pi/2) % c = 7.3891
% Calling functions can be done in either of two ways:
% Standard function syntax:
-load('myFile.mat', 'y') % arguments within parantheses, spererated by commas
+load('myFile.mat', 'y') % arguments within parentheses, separated by commas
% Command syntax:
load myFile.mat y % no parentheses, and spaces instead of commas
% Note the lack of quote marks in command form: inputs are always passed as
@@ -279,7 +279,7 @@ clf clear % clear current figure window, and reset most figure properties
% Properties can be set and changed through a figure handle.
% You can save a handle to a figure when you create it.
-% The function gcf returns a handle to the current figure
+% The function get returns a handle to the current figure
h = plot(x, y); % you can save a handle to a figure when you create it
set(h, 'Color', 'r')
% 'y' yellow; 'm' magenta, 'c' cyan, 'r' red, 'g' green, 'b' blue, 'w' white, 'k' black