what causes this display in .eps figure?
Show older comments
I am plotting in Matlab the following figure in .eps format (the following figure was exported using export_fig from fileexchange) :

When i load the figure.eps in latex the figure in the text have the following display:

And my question is: Why legend box is printed? I use the folowing code to make the box color white but in latex is still black:
set(h_legend,'EdgeColor',[1 1 1])
and to output .eps file :
print -depsc Figure.eps
Any idea?
Answers (1)
the cyclist
on 7 Nov 2014
A different approach is to simply turn the legend box off:
hL = legend('test')
set(hL,'Box','off')
2 Comments
Dimitrios
on 7 Nov 2014
the cyclist
on 8 Nov 2014
I was able to replicate this. Definitely seems like a bug to me. You might want to submit a bug report.
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!