Pcolor with two x axes and two y axes
I have some data Z (say MxN) matrix which i visualize with pcolor(X,Y,Z). I’d like the plot to display:
1) The colorbar;
2) Left and right yaxes with different scales
3) Top and bottom xaxes (or two xaxes on the bottom), one giving X in some units, the other its inverse (2*pi/X)
I have not found (by myself) any snippet on the community forum implementing all of these simultaneously, but it would help me tremendously.I have some data Z (say MxN) matrix which i visualize with pcolor(X,Y,Z). I’d like the plot to display:
1) The colorbar;
2) Left and right yaxes with different scales
3) Top and bottom xaxes (or two xaxes on the bottom), one giving X in some units, the other its inverse (2*pi/X)
I have not found (by myself) any snippet on the community forum implementing all of these simultaneously, but it would help me tremendously. I have some data Z (say MxN) matrix which i visualize with pcolor(X,Y,Z). I’d like the plot to display:
1) The colorbar;
2) Left and right yaxes with different scales
3) Top and bottom xaxes (or two xaxes on the bottom), one giving X in some units, the other its inverse (2*pi/X)
I have not found (by myself) any snippet on the community forum implementing all of these simultaneously, but it would help me tremendously. plotting, contour MATLAB Answers — New Questions