Why do I recieve a warning when opening my FIG-file in MATLAB using the OPENFIG function?

1 view (last 30 days)
When I try to open a FIG-file using the OPENFIG command, I receive the following warning:
Warning: Negative data ignored.
> In hgload at 150
In openfig at 89
In diprun at 17
This occurs each time the figure is loaded. Apart from this warning, everything else works fine.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This warning occurs when you give negative axis limits or data to an axis with a logarithmic scale and save this figure. Each time you open the figure, you will receive this warning. To avoid this warning, use only positive data when using log scales.

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!