Why does an invisible figure become visible when I save a bitmap image using the PRINT function in MATLAB?
1 view (last 30 days)
Show older comments
I have a figure whose 'Visible' property is set to 'Off'. When I save it to a file using the following command, it becomes visible again.
print -dbitmap foo.bmp
I want to save the figure as a bitmap file, but have it remain invisible in MATLAB.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
We have verified that there is a bug in MATLAB 7.0 (R14) related to the use of the -dbitmap flag with the PRINT function.
To work around this issue, you can use the -dbmp flag which also saves in the bitmap format, as in the following example:
print -dbmp foo.bmp
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!