I want to move the position of kx manually to the top for the attachment figure, How can I do it?

1 visualización (últimos 30 días)
my codes are:
ky=record(:,3);
kx=record(:,4);
pr1=100* record(:,5);
%
y = reshape(ky,5,length(ky)/5)';
x = reshape(kx,5,length(kx)/5)';
z = reshape(pr1,5,length(pr1)/5)';
surf(x,y,z);colormap(gray(255));grid on
az = 37;
el = 45;
view(az, el);
% axis('auto')
axis('square')
box on
ax = gca;
ax.BoxStyle = 'full';
  2 comentarios
Walter Roberson
Walter Roberson el 11 de Mayo de 2016
Do you mean that you want to rotate the plot? Or do you mean that x is labeled on one side of the plot and you want the label to appear on the other side of the plot instead?
Batool Engineer
Batool Engineer el 13 de Mayo de 2016
Yes I mean the label kx to appear on the other side (little shift to the top as shown in the attachment by red color) , I cant do it by mouse pointer after running my code. so what is the changing that should be apply on the code to do it? or how can I move it without any changing on the code?? thanks..

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by