plotsig

PURPOSE

Function to plot C where it is higher than a threshold sig

SYNOPSIS

function plotsig(C,sig,t,f,c)

DESCRIPTION

Function to plot C where it is higher than a threshold sig
useful for plotting coherence
Usage: plotsig(C,sig,t,f)
Inputs:
C: input array t x f - also works for a single vector
sig: significance level
t: t axis grid for plot
f: f axis grid for plot.
c: color to use (default blue)-only meaningful for a line plot