How to write two variables on the x-axis and change corresponding Xlimits?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
how to put two xtick labels in a plot. I have CC versus AA plot. I would like to write the corresponding values of BB on X-axis along with AA-coordinates. Is it possible? The code may be like:
load('AA.mat');
load('BB.mat');
load('CC.mat');
plot(AA,CC);
The example data is attached below.
Is it also possible to Change the values of BB scale in response to the change in X-limit? Any help will be greatly appriciated. Thank you so much.
The figure appears like this:![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1042570/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1042570/image.png)
2 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Axis Labels 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!