The solid green line is the frequency shape of the selected window
and the dashed green line is the time domain view.
When you click on the Help tag on PC Windows-based systems
the plt.chm help file will be opened pointed at the section of that manual devoted to describing this
winplt.m application. Right clicking on the help tag will open the same plt.chm file at the top level
which would be more useful for finding instructions for zooming or panning the display, enabling
traces, using the cursors, etc. With other operating systems, the plt.htm file will open in the browser
allowing you to navigate to the winplt section or any other section of interest.
Use the popup control (the large yellow text just above the plot) to select one of 31 different
windows - including most windows mentioned in the literature and a few of my own. Left clicking
on this control brings up the menu shown here with the currently selected window highlighted.
Simply click on the window you want to look at. Alternatively, you may right click on this control
and the window selection will change to the next window in the sequence (ordered by the window ID).
When you select a window defined by a convolution kernel, that kernel appears in the far upper
right corner of the figure window.
Use the number of bins slider to control how many fft bins to plot on either side of the center.
For these window types (as well as Rife Vincent below), an additional slider appears to the left
of the # of bins slider. Note that the slider name as well as the upper and lower slider limits
change depending on the window selected. As soon as you move the slider, the plot will be updated
to reflect the changed parameter.

Whenever a new window is selected, or when any window parameters are changed, these four window
characteristics are computed and displayed in the upper left corner of the plotting area. Green text
is used to indicate that the data is associated with the first two traces (also in green):
Winplt remembers the previous two frequency and time shapes displayed. These stored traces make
it easy for you to compare two or three different window types, or to compare up to three
windows of the same type but using a different parameter value. By default, only the first
two traces are enabled showing you the frequency and time shapes respectively of the currently
selected window. The next two traces (shown in blue on the plot as well as in the TraceID box)
show the window that was selected previously to the current one. Note that the TraceIDs are in
italics indicating that the trace is disabled. Simply click on the TraceID to change it to a
bold font and enable the trace on the display. (You can't do this until you have selected at
least one other window, since otherwise there is no meaning to "previously selected".)
Likewise, the last two traces (shown in red) show the "previous previous" window. If you don't
know what that means, read the example situation below:
On the right side of the graph (above the right axis label) is a checkbox called "power corrected".
When checked (as it is by default) the time trace is power corrected. When this checkbox is unchecked,
the time trace is amplitude corrected. The meanings of power and amplitude correction are described
above in the command-line interface section.
The simplest way to experiment with your own window designs is to first select one of the
kernel-based windows that most resemble the window you want. (Those are the windows that
have the kernel displayed above the window name, including IDs 1,12,13,14, and 17 through 28).
Then when you switch to ID 30 (adjust kernel) you can modify the selected kernel element by
using the slider labeled "Parameter". (The selected kernel element is indicated by bold text
and is surrounded by parentheses). At first, the last (rightmost) kernel element will be
selected as shown in this figure. To select a different kernel element simply click anywhere
on the kernel list and the selected element will move one position to the left (in a circular
fashion). If you want to enter a particular number for the selected kernel element, just type
that number into the parameter slider edit box. Usually however, you will want to use the
slider arrows to adjust the value. Clicking on the slider right / left arrows will
increase / decrease (respectively) the kernel value by one part in 2000 (i.e. by 0.05%).
You can change the increment factor by entering a value of 100 or greater into the slider
edit box. For example to set the increment factor to 1 part in 10,000 (i.e. 0.01%) just
enter "1e4" into the parameter slider. Clicking in the trough area of the parameter slider
changes the kernel element by 10 times as much as for the slider arrows. Note that the
frequency and time domain plots instantly update every time the selected kernel element is
modified. This instant feedback may allow you to get a feel for how you want to modify the
kernel, but even with this feedback, it is difficult for all but the shortest kernels.
If you right click anywhere on the kernel, instead
of moving left as you get with the left click you will see this popup selection. The first two
selections (Move right/left) are not often useful since it is faster to just use the left click
method. The next two choices add or remove a kernel element respectively. There are two ways to
save the kernel as you currently have modified it. The first method Save simply saves the
kernel to temporary memory (which will be lost when you close winplt.m. (Selecting Revert
restores the kernel from this temporary memory). To save the kernel more permanently, select the
choice Write winplt.mat which will save the kernel in the same folder containing winplt.m
with the indicated file name. This kernel is reloaded when you click on the Load winplt.mat
selection. You will find both methods of saving the current kernel useful as you explore the
effects of modifying each element while searching for the desired characteristics. If you opened
this menu inadvertently, you can close it by selecting the last choice (-- cancel--)
or the black "x".
To display your own window design based on a convolution kernel, the selection above (ID=30)
is usually the easiest. But if you don't want to be limited to that design technique, you
can display your own window designed in a completely general way by selecting the last window
type in the popup control
(ID 31: user).
The current user function string will then appear directly above the popup control. If you
haven't entered such a string yet, the default userwin string is shown which is simply
userwin(points,param).
If you don't have a function named userwin on your Matlab path, then you will also get the
undefined function error message shown in this picture. Any other errors encountered when
winplt is computing the user defined window will also appear in this location.
function out = userwin(points,param) out = winplt(21,points)*(100-param) + winplt(22,points)*(100+param);If the parameter slider is all the way to the left (-100) then this user window would display the same thing as window ID 21 (Potter 210). If the parameter slider is all the way to the right (+100) then the user window would display the same thing as window ID 22 (Potter 310). If the slider is in between then the window generated would be a weighted mixture of those two windows. (The parameter set to zero would generate an even mixture of the two windows.) Note that you don't have to worry about normalizing the window amplitude.