📄 ui_color.m
字号:
% this handles changes to the trace color for the BERGulator% Copyright 1997-1998 Phil Schniter % keep all variables local in scope function [] = ui_color(); % declare global variables berg_global; ui_private_global; % get trace color col_index = get(h_col,'Value'); if col_index == 1, color = [1 .6 .6]; % pink elseif col_index == 2, color = [.75 0 0]; % dark red elseif col_index == 3, color = [1 .5 0]; % orange elseif col_index == 4, color = [1 1 0]; % yellow elseif col_index == 5, color = [.6 .4 0]; % brown elseif col_index == 6, color = [0 1 0]; % light green elseif col_index == 7, color = [.15 .55 .2]; % john deere green elseif col_index == 8, color = [.4 .7 1]; % light blue elseif col_index == 9, color = [.1 .2 .7]; % dark blue elseif col_index ==10, color = [1 0 1]; % light purple elseif col_index ==11, color = [.6 0 .6]; % dark purple elseif col_index ==12, color = [.5 .5 .5]; % grey elseif col_index ==13, color = [0 0 0]; % black end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -