mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-12 01:34:19 +02:00
Typos
This commit is contained in:
@@ -199,7 +199,7 @@ ylabel('y axis')
|
|||||||
title('Plot of y = sin(x)')
|
title('Plot of y = sin(x)')
|
||||||
axis([0 2*pi -1 1]) % x range from 0 to 2*pi, y range from -1 to 1
|
axis([0 2*pi -1 1]) % x range from 0 to 2*pi, y range from -1 to 1
|
||||||
|
|
||||||
plot(x,y1,'-',x,y2,'--',x,y3,':'') % For multiple functions on one plot
|
plot(x,y1,'-',x,y2,'--',x,y3,':') % For multiple functions on one plot
|
||||||
legend('Line 1 label', 'Line 2 label') % Label curves with a legend
|
legend('Line 1 label', 'Line 2 label') % Label curves with a legend
|
||||||
|
|
||||||
% Alternative method to plot multiple functions in one plot.
|
% Alternative method to plot multiple functions in one plot.
|
||||||
|
Reference in New Issue
Block a user