MATLAB Answers

0

Preserve nonwhite background when using copy figure on macOS

Asked by Christian on 14 Mar 2019
Latest activity Commented on by Christian on 14 Mar 2019
I am trying to use a figure with a dark background in a presentation on Mac. I usually do this by using Edit -> Copy Figure and paste it into Preview or Keynote. However, this turns the black background into white. I know of the
InvertHardcopy = 'off'
requirement. It have set this option to off, it makes no difference.
How can I copy the figure just as it is, no fitting to an obscure page size, no changing colors, but preferably vectorized (screenshot being the last resort, obviously)

  0 Comments

Sign in to comment.

Products


Release

R2017a

1 Answer

Answer by Jan
on 14 Mar 2019

  1 Comment

This is for Windows systems only. The 'programmatic alternative' is the InvertHardcopy, 'off' solution, which has no visible effects.
Thanks anyways

Sign in to comment.