How to make Matlab draw a plane like this? Can't find the settings for plot
command in documentation. Maybe there is another command for planes like this?
Asked
Active
Viewed 300 times
-2

Bootuz
- 530
- 3
- 6
- 16
-
You must see these links: https://stackoverflow.com/questions/38186859/how-to-set-the-origin-to-the-center-of-the-axes-in-matlab, – Siva Srinivas Kolukula May 22 '18 at 10:37
1 Answers
4
If you are using MATLAB 2015b and higher, check the option of AxisLocation
.
figure
hold on
axis([-1 1 -1 1])
quiver(0,0,-1,1,'k')
quiver(0,0,1,1,'k')
ax = gca;
ax.XAxisLocation = 'origin';
ax.YAxisLocation = 'origin';

Adriaan
- 17,741
- 7
- 42
- 75

Siva Srinivas Kolukula
- 1,251
- 1
- 7
- 14