Noisy line plot appears much noisier when saved as eps/pdf
Afficher commentaires plus anciens
I have a strange problem: I'm plotting experimental data which has a certain level of noise, but when I save the figure as eps or pdf, the noise appears to get enhanced, hiding my signal even. I've attached a png which shows the plot as it should be, and a screenshot showing the noise problem. My guess is that the line gets thicker or something, but I'm not sure. Any ideas? I've tried using Export, and setting specific linewidths to 1 or 0.5 pt, no luck.
The following code along with the attached data file will produce the plot:
figure();
plot(sortedBfield',sortedData');
xlabel('B_0 [G]')
ylabel('Angle [˚]')
set(gca,'fontsize',14);


Réponse acceptée
Plus de réponses (1)
you are not 'saving' to .eps or .pdf
you are printing it. No paper, yes, but you are making the signal visually available without revealing the data itself.
The signal is in the .mat file.
And besides, it's not the same signal bus, in the second signal bus, same input but with more noise.
I print to .pdf and don't get so much added noise
Somewhere you have more than doubled the noise power, definitely more than 3dB.
Have you used different filters?
If you find this answer of any help solving this question, please click on the thumbs-up vote link,
thanks in advance
John
1 commentaire
Einar Magnusson
le 2 Mar 2016
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!