Matlab - Two Subplots, single color scale and colorbar
<p>consider the following code</p>

<pre><code>x = [-1:0.1:1];
subplot(2,2,1)
imagesc(x,x,abs(x)/100)
colorbar
subplot(2,2,2)
imagesc(x,x,abs(x))
colorbar
</code></pre>

<p><a href="https://i.stack.imgur.com/O7Ms3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O7Ms3.jpg" alt="Code Result"></a></p>

<p><strong>What I want to happen</strong> Is that both images will be on the same color scale, and the same color bar I.e., that the left will be mostly blue, while the right one will show the full scale.</p>