Mercurial > hgweb > octave
changeset 32601:db0e70a46dc0
polar.m: Don't draw rtick value of 0 (bug #64991)
* polar.m (__update_polar_grid__): Exclude rtick value of zero from drawing,
but leave 'rtick' property untouched.
| author | Rik <rik@octave.org> |
|---|---|
| date | Wed, 13 Dec 2023 10:42:58 -0800 |
| parents | 60c1b3ffd859 |
| children | 65084aa09317 |
| files | scripts/plot/draw/polar.m |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/polar.m +++ b/scripts/plot/draw/polar.m @@ -333,9 +333,9 @@ delete (get (hg, "children")); rtick = unique (get (hax, "rtick")(:)'); - rtick = rtick(rtick >= 0); + rtick = rtick(rtick > 0); if (isempty (rtick)) - rtick = [0, 0.5, 1]; + rtick = [0.5, 1]; endif ttick = unique (get (hax, "ttick")(:)');
