Changing XDir permanent to reverse
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi again,
I got a new problem and missing a solution. I did a plotting in an axes after setting it XDir to reverse.
set(gca, 'XDir', 'reverse');
plot(vecA, vecB);
This is working well. Than I used
hold on;
and plotted something else
plot(vecC, vecD);
The result is that the axis changed back. :(
0 comentarios
Respuestas (2)
Jos (10584)
el 24 de Sept. de 2013
Why not set the direction AFTER all the plot commands?
0 comentarios
Sean de Wolski
el 24 de Sept. de 2013
plot is a high-level functhat changes a bunch of properties automatically. If you don't want to change the other properties, call line directly.
0 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!