Obtain matrix with YDIR reverse
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Alejandro Fernández
am 4 Aug. 2020
Kommentiert: Alejandro Fernández
am 4 Aug. 2020
Hello good morning, I have a problem to see if anyone can help me.
I have an A matrix of , in the first column are the values of the X axis and in the second column the values of the Y axis, I need to get a B matrix of the same dimensions and identical positions of X and Y in which the data correspond to the process of trafficking the data of A and apply:
figure
scatter(A(:,1),A(:,2),'filled')
set(gca,'YDir','reverse')
So when I create B what is the matrix that i don't know how to create I expect to obtain the same result but without reversing the axis:
figure
scatter(B(:,1),B(:,2),'filled')
set(gca,'YDir','normal')
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!