MATLAB Answers

In what version did certain colorbar properties change?

4 views (last 30 days)
DGM
DGM on 12 May 2021
Commented: Walter Roberson on 12 May 2021
This is an exercise in a routine frustration; forgive me for letting it show. Someone has code which manipulates colorbar objects, changing such obsolete properties as 'xgrid', etc (axis properties). These haven't existed for years, and if this were my code (or if I wanted to offer an accurate description of the problem to the individual) I would need to know when exactly colorbar objects stopped having those properties so that a version check conditional could allow modified code to work for both new and old versions.
The problem here is that the documentation and release notes are a narrow moving window. They only go back to R2016a at current.
Where similar questions suggest that they certainly used to go back further:
Does anyone know off the top of their head when that change would have been? I was going to say R2014b, but I can't seem to prove it.
Is there some other permanent archive of this information that's available to users? I can't be the only one that finds this obstacle frustrating.

Accepted Answer

Steven Lord
Steven Lord on 12 May 2021
The PDF Release Notes go back to release R2012b. The document is 666 pages long. I suspect that a combination of size and frequency of use was behind the decision to limit how far back the HTML Release Notes go.
One of the changes that was part of the major graphics system update in release R2014b was that colorbars are no longer axes objects, they are their own type of object. See page 15-20 (aka page 576) in the PDF.
  2 Comments
Walter Roberson
Walter Roberson on 12 May 2021
The maintenance costs associated with the HTML archives are given as the reason for the 5 year window.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!