📄 vwplot.m
字号:
function vwplot(a)global Settingsif ~Settings.init fm_choice('No data found. Solve Power Flow first.',2) returnendif ~a.n fm_choice('No Wind data found!',2) returnend% plot Wind speedscolors = {'b','g','r','c','m','y','k'};figurehold onfor i = 1:a.n leg{i} = ['v_{w',num2str(i),'}']; plot(a.speed(i).time,a.speed(i).vw*a.con(i,2),colors{rem(i-1,7)+1})endhold offlegend(leg)title('Wind Speeds')xlabel('time [s]')ylabel('v_w [m/s]')box('on')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -