plot3 not functioning
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
clear all
close all
clc
X=[1 10];
Y=[0 20];
Z=[0 15];
plot3(X,Y,Z)
grid on
for this simple programme or any other programme, plot3 is not working.
0 comentarios
Respuestas (1)
Star Strider
el 31 de Mzo. de 2021
Please define what ‘not working’ means. Does it throw an error? If so, copy all the red text from the Command Window to a Comment to your original Question.
In the interim, you could have your own ‘plot3’ funciton or variable that is confusing MATLAB.
To determine that, run this:
which plot3 -all
from the Command Window or a script.
The only result should be:
built-in (C:\Program Files\MATLAB\R2021a\toolbox\matlab\graph3d\plot3)
or something similar. If there are othe results, that points to the problem, and the solution is to re-name the others.
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!