clc;
clear all
close all

figure(‘name’, ‘plot_matA1’)
A = rand(40,40);
imagesc(A);
colorbar;

matlab 画矩阵图像,Y轴坐标反转
这里得到的图片,其Y轴的坐标是自上到下增大的,如何处理呢?如下即可

figure(‘name’, ‘plot_matA2’)
imagesc(A);
colorbar;
% axis off
set(gca,‘YDir’,‘normal’)

matlab 画矩阵图像,Y轴坐标反转

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-16
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2021-12-06
  • 2021-12-06
  • 2022-01-27
  • 2021-08-27
  • 2021-11-18
  • 2021-11-04
  • 2021-04-03
相关资源
相似解决方案