mm1801.m

来自「matlab7.0这本书的源代码」· M 代码 · 共 38 行

M
38
字号
%(MM1801.m plot)
temps =[12  8  18  15  9  22  12  5  19  14  8  23  12  6  22  11  9  19  15  9  15  8  10  20  19  7  18  12  7  18  14  10  19  11  8  17  9  7  23  8  8  19  15  8  18  8  9  20  10  7  17  12  7  22  9  8  19  12  8  21  12  8  20  10  9  17  13  12  18  9  10  20  10  6  22  14  7  21  12  5  22  13  7  18  15  10  23  13  11  24  12  12  22];d = 1:31;   % number the days of the monthplot(d,temps)xlabel('Day of Month'), ylabel('Celsius')title('Figure 18.1: Daily High Temperatures in Three Cities')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?