white rectangle behind Matlab figure
4 views (last 30 days)
Show older comments
Hello,
with the polar command I generate the figure fig_01......
The background of the figure rectangle is gray and that of the polarplot is white.
With the Matlab command
print('polar_plot','-depsc')
I generate an eps-figure. Whe I import this figure in a TeX-manuscript it needs more place than the polarplot alone.
So I import the Matlab-eps-file in CorelDraw and you can see a great white rectangel behind the polarplot in fig_02.....
After suspending groups it is possible to delete the white rectangle only. So I get the fig_03.....
In CorelDraw I can export this figure as an eps-file again, but now without the white rectangle.
It is possible to modify the print command to avoid the white rectangle behind the figure?
7 Comments
Stephen23
on 21 May 2019
" I didn't know about InvertHardCopy. It must be an undocumented property. "
InvertHardcopy is documented in the figure properties documentation (which is linked to from the figure documentation):
and also has its own dedicated examples page here:
Adam Danz
on 21 May 2019
(blush)
I was looking in axis properties despite the example setting a property of a figure.
Answers (0)
See Also
Categories
Find more on Specifying Target for Graphics Output 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!