Hi,
I want to plot all the fft plots in a single figure. something like the attached image
Here's my code
for i=1:m [f(i,:) mag(i,:)]=fftplot(2000000,corr_amp(i,:)); subplot(3,4,i) plot(f(i,:),mag(i,:)) axis([25000,85000,0,1.1]); strtime = ['Frequency Spectrum at \delta=', num2str(load(1,i)),'\mum']; title(strtime,'fontsize',10) xlabel('Frequency (Hz)') ylabel('Magnitude') grid on grid minorend;
this code gives me all fft plots as separate plots in a single figure, but i want to arrange all the fft plots in 3D (third axes is 'load' variable in the .mat file attached) as shown in image to see the variation accurately.
Best Answer