How to combine the discrete bands of x-values to a continous plot?
조회 수: 2(최근 30일)
표시 이전 댓글

I require a pcolor plot showing x-values in non-linear scale. These are discrete bands with increasing values. I would like to club all the discrete bands shown in the figure and make a continous structure.
In the figure, the Y-scale is continous and have a repeated gap between the numbers, while the x-scale does not have a regular gap between the numbers. If we take a regular gap, most of the plot will be white space. How to avoid this white space and make a continous plot?
Any suggestions will be greatly appriciated.
채택된 답변
KSSV
2022년 7월 11일
load('X.mat') ;
load('Y.mat') ;
load('C.mat') ;
X = T_mag3 ;
Y = E3(1,:)' ;
Z = FESA3 ;
pcolor(X,Y,Z)
shading interp
추가 답변(0개)
참고 항목
범주
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!