-
Notifications
You must be signed in to change notification settings - Fork 367
Description
I have a Matlab script which I didn't use for a while. It draws some simple histograms and different axes and then uses export_fig('-p0.005','-png', 'file.png'). It used to work with Matlab R2024b and previous export_fig versions, e.g. 3.43.
Now with Matlab R2025a and export_fig v3.53 and Ghostscript 10.06.0 I only get:
export_fig('-p0.005','-png', 'GehaltstabelleR&SMonat_Tarif_35.png');
Warning: This Menu cannot be copied. See what you can and cannot copy with [COPYOBJ](matlab: helpview ([docroot filesep 'matlab' filesep 'ref' filesep 'copyobj.html'])).
In [export_fig](matlab:matlab.lang.internal.introspective.errorDocCallback('export_fig', 'C:\Program Files\Matlab\export_fig\export_fig.m', 508)) ([line 508](matlab: opentoline('C:\Program Files\Matlab\export_fig\export_fig.m',508,0)))
Warning: This Menu cannot be copied. See what you can and cannot copy with [COPYOBJ](matlab: helpview ([docroot filesep 'matlab' filesep 'ref' filesep 'copyobj.html'])).
In [export_fig](matlab:matlab.lang.internal.introspective.errorDocCallback('export_fig', 'C:\Program Files\Matlab\export_fig\export_fig.m', 508)) ([line 508](matlab: opentoline('C:\Program Files\Matlab\export_fig\export_fig.m',508,0)))
Warning: This Menu cannot be copied. See what you can and cannot copy with [COPYOBJ](matlab: helpview ([docroot filesep 'matlab' filesep 'ref' filesep 'copyobj.html'])).
In [export_fig](matlab:matlab.lang.internal.introspective.errorDocCallback('export_fig', 'C:\Program Files\Matlab\export_fig\export_fig.m', 508)) ([line 508](matlab: opentoline('C:\Program Files\Matlab\export_fig\export_fig.m',508,0)))
Warning: This Menu cannot be copied. See what you can and cannot copy with [COPYOBJ](matlab: helpview ([docroot filesep 'matlab' filesep 'ref' filesep 'copyobj.html'])).
In [export_fig](matlab:matlab.lang.internal.introspective.errorDocCallback('export_fig', 'C:\Program Files\Matlab\export_fig\export_fig.m', 508)) ([line 508](matlab: opentoline('C:\Program Files\Matlab\export_fig\export_fig.m',508,0)))
Warning: This Menu cannot be copied. See what you can and cannot copy with [COPYOBJ](matlab: helpview ([docroot filesep 'matlab' filesep 'ref' filesep 'copyobj.html'])).
In [export_fig](matlab:matlab.lang.internal.introspective.errorDocCallback('export_fig', 'C:\Program Files\Matlab\export_fig\export_fig.m', 508)) ([line 508](matlab: opentoline('C:\Program Files\Matlab\export_fig\export_fig.m',508,0)))
Warning: This Menu cannot be copied. See what you can and cannot copy with [COPYOBJ](matlab: helpview ([docroot filesep 'matlab' filesep 'ref' filesep 'copyobj.html'])).
In [export_fig](matlab:matlab.lang.internal.introspective.errorDocCallback('export_fig', 'C:\Program Files\Matlab\export_fig\export_fig.m', 508)) ([line 508](matlab: opentoline('C:\Program Files\Matlab\export_fig\export_fig.m',508,0)))
Warning: Some uifigure controls cannot be exported by export_fig and will not appear in the generated output.
Object Copy of Axes with multiple coordinate systems is not supported.
In [export_fig](matlab:matlab.lang.internal.introspective.errorDocCallback('export_fig', 'C:\Program Files\Matlab\export_fig\export_fig.m', 512)) ([line 512](matlab: opentoline('C:\Program Files\Matlab\export_fig\export_fig.m',512,0)))
The exported png-file is just 127 byte instead of 40KByte. The script just uses simple commands, i.e., figure; xlim, some rectangle commands, xticks, xlabel, ylim, yyaxis right, and text for exes. What happened here?