Scale the axis in a contourf plot/ change axis location

1 visualización (últimos 30 días)
Nahid Taheri
Nahid Taheri el 19 de En. de 2018
Comentada: Nahid Taheri el 19 de En. de 2018
I have a contour plot with positive value for x axis and negative value for y axis, both start from the 0. I want my x axis to be on top, just to make sure scaling make sense. Appreciate any help.

Respuestas (1)

M
M el 19 de En. de 2018
Maybe something like this :
contour(...);
ax=gca;
ax.XAxisLocation='top';
  1 comentario
Nahid Taheri
Nahid Taheri el 19 de En. de 2018
I tried that, but it did not work. Also, do you know how we can select the color on the color bar?

Iniciar sesión para comentar.

Categorías

Más información sobre Contour 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