Create color time-frequency plots from eha results.
plotEha(spec,xmin,xmax,ymin,ymax,h=6,w=4,ydir=1,pl=0,norm,palette=1,
centerZero=T,ncolors=100,colorscale=F,xlab,ylab,filetype=0,output=T,verbose=T)
Time-frequency spectral results to evaluate. Must have the following format: column 1=frequency; remaining columns (2 to n)=power, amplitude or probability; titles for columns 2 to n must be the location (depth or height). Note that this format is ouput by function eha.
Minimum frequency for PLOTTING.
Maximum frequency for PLOTTING.
Minimum depth/height for PLOTTING.
Maximum depth/height for PLOTTING.
Height of plot in inches.
Width of plot in inches.
Direction for y-axis in plots (depth or height). -1 = values increase downwards (slower plotting!), 1 = values increase upwards.
An option for the color plots (0=linear scale; 1=plot log of value [useful for plotting power], 2=normalize to maximum value [useful for plotting amplitude], 3=use normalization provided in norm.
Optional amplitude normalization divisor, consisting of a single column dataframe. This option is provided in case you'd like to normalize a set of EHA results using the same scheme (e.g., before and after removal of spectral lines).
What color palette would you like to use? (1) rainbow, (2) grayscale, (3) blue, (4) red, (5) blue-white-red (if values are negative and positive, white is centered on zero)
Center color scale on zero (use an equal number of postive and negative color divisions)? (T or F)
Number of colors steps to use in palette.
Include a color scale in the plot? (T or F)
Label for x-axis. Default = "Frequency"
Label for y-axis. Default = "Location"
Generate .pdf, .jpeg, .png or tiff file? (0=no; 1=pdf; 2=jpeg; 3=png; 4=tiff)
If amplitude is normalized (pl = 2), output normalization used? (T or F)
Verbose output? (T or F)