[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61696] Error in the range showed by colobar c
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command |
Date: |
Tue, 21 Dec 2021 04:38:22 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 |
Follow-up Comment #3, bug #61696 (project octave):
If I replace the the original example by the following simpler script, I get
consistent behavior, i.e. the color axis (returned by caxis) is the same
before and after colorbar :
col = 0.5 * (1 + rand (1,100));
x = rand (1,100);
y = rand (1,100);
scatter (x, y, 8, col, "filled")
colormap (jet)
printf ("color limits BEFORE colorbar: %s", disp (caxis))
colorbar
printf ("color limits AFTER colorbar: %s", disp (caxis))
But with the original example, for which the color axis should have
approximately the same extent, I get [0 1] before calling colorbar, and
[0.5034 1] after. What I find strange is the initial [0 1], not the scaled
one.
In any event, if you want to have a fixed color axis, see the `caxis` command.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61696>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command, Fernando Pujaico Rivera, 2021/12/18
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command, Fernando Pujaico Rivera, 2021/12/18
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command, Ryan Gray, 2021/12/21
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command, Pantxo Diribarne, 2021/12/21
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command, Fernando Pujaico Rivera, 2021/12/21
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command, Pantxo Diribarne, 2021/12/22
- [Octave-bug-tracker] [bug #61696] Error in the range showed by colobar command, Markus Mützel, 2021/12/22
- [Octave-bug-tracker] [bug #61696] Error in the range shown by colorbar command, Markus Mützel, 2021/12/22
- [Octave-bug-tracker] [bug #61696] Error in the range shown by colorbar command, Pantxo Diribarne, 2021/12/22