Coming soon - Get a detailed view of why an account is flagged as spam!
view details
1
Linking clim value between multiple figures?
Post Flair (click to view more posts with a particular flair)
Post Body

I'm surprised I wasn't able to find anything by searching online. I am looking for the functionality of linkaxes but for the color scale (now called clim, used to be caxis). Is there a built-in way to do this? Let's say I do this:

figure;contourf(data1);
ax(1)=gca;
figure;contourf(data2);
ax(2)=gca;
figure;contourf(data3);
ax(3)=gca;  

I want to then set ax to all have the same clim value. Is there a better way to do it than to brute force it?

for i=1:3
mins(i)=min(clim(ax(i)));
maxs(i)=max(clim(ax(i)));
end
cmin=min(mins);
cmax=max(maxs);
for i=1:3
clim(ax(i),[cmin cmax]);
end

Author
Account Strength
100%
Account Age
16 years
Verified Email
Yes
Verified Flair
No
Total Karma
88,096
Link Karma
12,527
Comment Karma
75,272
Profile updated: 5 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago