Noisy line plot appears much noisier when saved as eps/pdf

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);

Plus de réponses (1)

John BG
John BG le 1 Mar 2016
Modifié(e) : John BG le 1 Mar 2016
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?
found the .EPS vs .PDF interesting reading: http://www.adobe.com/print/features/psvspdf/
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

Hi John, thanks for your reply. I have actually found another question that addresses this problem, and it is a bug that has been known for quite a while now: http://stackoverflow.com/questions/26302938/jagged-outline-using-matlab-2014b/26683205#26683205

Connectez-vous pour commenter.

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!

Translated by