Azzera filtri
Azzera filtri

white rectangle behind Matlab figure

4 visualizzazioni (ultimi 30 giorni)
Siegfried Martius
Siegfried Martius il 20 Mag 2019
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 Commenti
Stephen23
Stephen23 il 21 Mag 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
Adam Danz il 21 Mag 2019
(blush)
I was looking in axis properties despite the example setting a property of a figure.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Specifying Target for Graphics Output in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by