Noisy line plot appears much noisier when saved as eps/pdf
2 views (last 30 days)
Show older comments
Einar Magnusson
on 1 Mar 2016
Answered: Einar Magnusson
on 2 Mar 2016
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);


0 Comments
Accepted Answer
More Answers (1)
John BG
on 1 Mar 2016
Edited: John BG
on 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?
If you find this answer of any help solving this question, please click on the thumbs-up vote link,
thanks in advance
John
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!