I've been through many topics and suggestions and I'm still no able to adequately overlay a smoothed line on a bar plot.
This is my plot: Bar plot. It represents the firing rate of a neuron over time. In this case 0 is an event of interest and I plot the data 6000ms before (hence negative numbers) and 5500ms after it.
What I need is to smooth this data (bar plot) with kernel smoothing and represent it as a line overlaid with the bar plot.
Any input on how to properly do this?
Thank you in advance. Cheers!