Mercurial > octave
changeset 33188:fd87bfce3438
maint: Merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 11 Mar 2024 16:48:20 +0100 |
parents | 4eba030c0edc (current diff) 6cd9c54e00e7 (diff) |
children | e0f4c4f08faf |
files | |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS.9.md Sat Mar 09 19:35:48 2024 +0100 +++ b/etc/NEWS.9.md Mon Mar 11 16:48:20 2024 +0100 @@ -62,9 +62,12 @@ state, the resulting value is now displayed in the Command Window for informational purposes. -- The axes graphics property "TickDir" now accepts the option "none", which +- The axes graphics property `"TickDir"` now accepts the option `"none"`, which will not draw tick marks but will still draw tick labels. +- Stricter checks are performed for valid dimensions of the color data + properties `"CData"` and `"FaceVertexCData"` when rendering `patch` objects. + ### Matlab compatibility - The `inputParser` function now implements the `PartialMatching` property for
--- a/scripts/plot/draw/private/__bar__.m Sat Mar 09 19:35:48 2024 +0100 +++ b/scripts/plot/draw/private/__bar__.m Mon Mar 11 16:48:20 2024 +0100 @@ -283,10 +283,10 @@ if (vertical) h = patch (hax, xb(:,:,i), yb(:,:,i), - "cdata", i*ones (columns (xb),1), "FaceColor", "flat"); + "cdata", i, "FaceColor", "flat"); else h = patch (hax, yb(:,:,i), xb(:,:,i), - "cdata", i*ones (columns (yb),1), "FaceColor", "flat"); + "cdata", i, "FaceColor", "flat"); endif if (! isempty (varargin))