python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to add colorbar to existing axis handle?
This way is easy and works:
plt.imshow(im)
plt.colorbar()
But when it's like this:
f,ax = plt.subplots(3,1)
ax[2].imshow(im)
How do I get the colorbar on that axis? I don't need anything fancy, just...
Mastiff
Votes: 0
Answers: 1
using PyPlot in Julia 1.7: colorbar & equal 3D axis
I'm updating the syntax for julia 1.7. I have everything below working for julia 0.x, and below represents all I found for 1.7, but there are still glitches.
Question 1. How do I get the colorbar to ...
dj_a
Votes: 0
Answers: 1
How to "cut" Colorbar in subplot Matplotlib python
I am trying to normalize a colorbar (-350,350) and than plot in an subplot of the figure.
Now I am doing this:
cmap= cmocean.cm.balance
ax3 = fig.add_subplot(spec[2])
cmap =cmocean.cm.balance
norm1 =...
Pedro Freire Lula de Souza
Votes: 0
Answers: 0
Colorbar scale wrong on Octave
I try to create a graph in which there is a line with colour based on a third variable.
To do that, I'm using scatter plot.
When I add colorbar to this plot, the data range reported on the colorbar va...
Mattia
Votes: 0
Answers: 1