Why is the upper axis grid not visible after exporting to .eps image

1 view (last 30 days)
I export the 3d plots to .eps by using following code. But the upper axis grid is not visible after exporting to .eps. Why?
Please find the following picture. (red line on the top)
set(gcf,'renderer','Painters');
set(gcf, 'PaperPositionMode', 'auto');
print -depsc2 ex1error.eps;
print(gcf, '-dpdf', '-r600', ZZZ)

Accepted Answer

Jan
Jan on 7 Mar 2021
Did you enable the box?
set(gca, 'Box', 'on')

More Answers (0)

Categories

Find more on Guidance, Navigation, and Control (GNC) in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!