📄 sphelpstr.m
字号:
function str = sphelpstr(tag,fig)
%SPHELPSTR Help for Spectrum Viewer
% Copyright (c) 1988-98 by The MathWorks, Inc.
% $Revision: 1.6 $
str{1,1} = 'Spectrum Viewer';
str{1,2} = {['No help for this object (' tag ')']};
% **** WARNING! ****
% **** ****
% **** All help text between the SWITCH TAG and OTHERWISE ****
% **** statements is automatically generated. To change ****
% **** the help text, edit SPHELP.H and use HWHELPER to ****
% **** insert the changes into this file. ****
switch tag
case 'help'
str{1,1} = 'SPECTRUM VIEWER';
str{1,2} = {
'This window is a Spectrum Viewer. It allows you to view and modify '
'spectra created in the SPTool. This window always displays what is '
'currently selected in the ''Spectra'' column of the SPTool.'
' '
'The Spectrum Viewer consists of four essential areas:'
' 1) a parameters frame for viewing and altering the parameters '
' or method of the currently selected spectrum.'
' 2) a main display area for viewing spectra graphically.'
' 3) zoom controls for getting a closer look at spectral features.'
' 4) "Rulers" for making spectral measurements and comparisons.'
};
str{2,1} = 'GETTING HELP';
str{2,2} = {
'To get help at any time, click once on the ''Help'' button. The mouse '
'pointer becomes an arrow with a Question Mark symbol. You can then click '
'on anything in the Spectrum Viewer (or select a menu) to find out what it '
'is and how to use it.'
};
case 'toolbar'
str{1,1} = 'TOOLBAR';
str{1,2} = {
' '
'You have clicked in the "Toolbar" of the Spectrum Viewer.'
' '
'The Toolbar contains three areas: the "Zoom Group" consisting of the six '
'buttons on the left, the "Help Button", and the "Legend Area" on the right.'
' '
'To get help on any of these items, click once on the "Help" button, then '
'click on the button for which you want help.'
};
case 'spzoom:mousezoom'
str{1,1} = 'MOUSE ZOOM';
str{1,2} = {
' '
'Clicking this button puts you in "Mouse Zoom" mode. In this mode, the '
'mouse pointer becomes a cross when it is inside the main axes area. You '
'can click and drag a rectangle in the main axes, and the main axes display '
'will zoom in to that region. If you click with the left button at a point '
'in the main axes, the main axes display will zoom in to that point for a '
'more detailed look at the data there. Similarly, you can click with the '
'right mouse button (shift click on the Mac) at a point in the main axes to '
'zoom out from that point for a wider view of the data. In each case, the '
'panner is updated to highlight the region of data displayed in the main '
'axes.'
' '
'To get out of mouse zoom mode without zooming in or out, click on the '
'Mouse Zoom button again.'
' '
'ZOOM PERSISTENCE'
' '
'Normally you leave zoom mode as soon as you zoom in or out once. In order '
'to zoom in or out again, the Mouse Zoom button must be clicked again. '
'However, the mouse zoom mode will remain enabled after a zoom if in the '
'Preferences of the SPTool, under the Spectrum Viewer section, the box '
'marked ''Stay in Zoom-Mode after Zoom'' is checked.'
};
case 'spzoom:zoomout'
str{1,1} = 'FULL VIEW';
str{1,2} = {
'Clicking this button restores the data limits of the main axes to show all '
'of the data selected.'
};
case 'spzoom:zoominy'
str{1,1} = 'ZOOM IN Y';
str{1,2} = {
'Clicking this button zooms in on the spectra, cutting the vertical range '
'of the main axes in half. The x-limits (horizontal scaling) of the main '
'axes are not changed.'
};
case 'spzoom:zoomouty'
str{1,1} = 'ZOOM OUT Y';
str{1,2} = {
'Clicking this button zooms out from the spectra, expanding the vertical '
'range of the main axes by a factor of two. The x-limits (horizontal '
'scaling) of the main axes are not changed.'
};
case 'spzoom:zoominx'
str{1,1} = 'ZOOM IN X';
str{1,2} = {
'Clicking this button zooms in on the spectra, cutting the horizontal range '
'of the main axes in half. The y-limits (vertical scaling) of the main '
'axes are not changed.'
};
case 'spzoom:zoomoutx'
str{1,1} = 'ZOOM OUT X';
str{1,2} = {
'Clicking this button zooms out from the spectra, expanding the horizontal '
'range of the main axes by a factor of two. The y-limits (vertical '
'scaling) of the main axes are not changed.'
};
case 'legendbutton'
str{1,1} = 'COLORS';
str{1,2} = {
' '
'Click on this button to change the Selected Spectrum''s line color and / or '
'line Style.'
};
case {'legendpopup','legendline','legendpatch','legendlabel'}
str{1,1} = 'SELECTION';
str{1,2} = {
' '
'Click on this menu to choose, from the multiple selected spectra of the '
'SPTool, which one spectrum has the ruler focus. The selected spectrum''s '
'line color and style are shown in the line segment just above this menu. '
'The ruler measurements in track and slope mode, and peaks and valleys, '
'apply to the selected spectrum.'
' '
'You can also change the selected spectrum by clicking on its waveform in '
'the main axes.'
};
case 'ruler1line'
str{1,1} = 'RULER 1';
str{1,2} = {
'You have clicked on Ruler 1. Drag this indicator with the mouse to '
'measure features of your selected data. The value of the ruler is shown '
'textually in the Ruler area on the right side of the Spectrum Viewer '
'window.'
};
case 'ruler2line'
str{1,1} = 'RULER 2';
str{1,2} = {
'You have clicked on Ruler 2. Drag this indicator with the mouse to '
'measure features of your selected data. The value of the ruler is show '
'textually in the Ruler area on the right side of the Spectrum Viewer '
'window.'
};
case 'slopeline'
str{1,1} = 'SLOPE LINE';
str{1,2} = {
'You have clicked on the Slope Line of the Rulers. This line goes through '
'the points (x1,y1) and (x2,y2) defined by Ruler 1 and Ruler 2 '
'respectively. Its slope is labeled as ''m''. As you drag either Ruler 1 or '
'Ruler 2 left and right, the Slope Line is updated.'
};
case 'ruler1button'
str{1,1} = 'FIND RULER 1';
str{1,2} = {
'Click on this button to bring Ruler 1 to the center of the main axes. '
'This button is only visible when Ruler 1 is "off the screen", that is, '
'when Ruler 1 is not visible in the main axes.'
};
case 'ruler2button'
str{1,1} = 'FIND RULER 2';
str{1,2} = {
'Click on this button to bring Ruler 2 to the center of the main axes. '
'This button is only visible when Ruler 2 is "off the screen", that is, '
'when Ruler 2 is not visible in the main axes.'
};
case {'ruleraxes','rulerlabel','rulerframe'}
str{1,1} = 'RULERS';
str{1,2} = {
'This area of the Spectrum Viewer allows you to read and control the values '
'of the rulers in the main axes. Use the rulers to make measurements on '
'spectra, such as distances between features, heights of peaks, and slope '
'information.'
};
case 'ruler:vertical'
str{1,1} = 'VERTICAL';
str{1,2} = {
'Click this button to change the Rulers to Vertical mode. In Vertical '
'mode, you can change the rulers'' x-values (i.e., horizontal position) by '
'either'
' - dragging them back and forth with the mouse, or'
' - entering their values in the x1 and x2 edit boxes.'
' '
'The difference x2-x1 is displayed as dx.'
};
case 'ruler:horizontal'
str{1,1} = 'HORIZONTAL';
str{1,2} = {
'Click this button to change the Rulers to Horizontal mode. In Horizontal '
'mode, you can change the rulers'' y-values (i.e., vertical position) by '
'either'
' - dragging them up and down with the mouse, or'
' - entering their values in the y1 and y2 edit boxes.'
' '
'The difference y2-y1 is displayed as dy.'
};
case 'ruler:track'
str{1,1} = 'TRACK';
str{1,2} = {
'Click this button to change the Rulers to Track mode. This mode is just '
'like Vertical mode, in which you can change the rulers'' x-values (i.e., '
'horizontal position) by either'
' - dragging them left and right with the mouse, or'
' - entering their values in the y1 and y2 edit boxes.'
' '
'In Track mode, the Rulers also "track" a spectrum, so that you can see the '
'y-values of the spectrum at the x-values of the Rulers. The value dy is '
'equal to y2-y1. You can change which spectrum is tracked by clicking on a '
'spectrum in the main axes, or by selecting a new one in the menu in the '
'(line) "Selection" area of the toolbar.'
' '
};
case 'ruler:slope'
str{1,1} = 'SLOPE';
str{1,2} = {
'Click this button to change the Rulers to Slope mode. This mode is just '
'like Track mode, in which you can change the rulers'' x-values (i.e., '
'horizontal position) by either'
' - dragging them left and right with the mouse, or'
' - entering their values in the y1 and y2 edit boxes.'
' '
'In Slope mode, the Rulers "track" a signal, so that you can see the '
'y-values of the signal at the x-values of the Rulers. The value dy is '
'equal to y2-y1. The line connecting (x1,y1) and (x2,y2) is included in '
'the main plot, so you can approximate derivatives and slopes of the '
'signal. The value ''m'' is equal to dy/dx.'
' '
'You can change which spectrum is tracked by clicking on a spectrum in the'
'main axes, or by selecting a new one in the menu in the (line) "Selection"'
'area of the toolbar.'
};
case 'x1label'
str{1,1} = 'X1';
str{1,2} = {
'This is the X value of Ruler 1. Change this value by dragging Ruler 1 '
'back and forth with the mouse, or clicking in the box labeled x1 and '
'typing in a number.'
};
case 'rulerbox1'
str{1,1} = 'RULER 1';
str{1,2} = {
'For Vertical, Track and Slope modes:'
' Change the value in this box to set the x-location of Ruler 1.'
' '
'For Horizontal mode:'
' Change the value in this box to set the y-location of Ruler 1.'
' '
'When you drag Ruler 1 with the mouse, the value in this box changes '
'correspondingly.'
};
case {'y1label','y1text'}
str{1,1} = 'Y1';
str{1,2} = {
'This is the Y value of Ruler 1. '
' '
'In Track and Slope Ruler modes, y1 is the value of the spectrum in the '
'main axes that is being tracked by Ruler 1 (designated by (line) Selection).'
' '
'In Horizontal Ruler mode, you can enter a value in the box labeled y1 to '
'change the position of the Ruler.'
};
case 'x2label'
str{1,1} = 'X2';
str{1,2} = {
'This is the X value of Ruler 2. Change this value by dragging Ruler 2 '
'back and forth with the mouse, or clicking in the box labeled x2 and '
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -