plot3 not functioning
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Star Strider
am 31 Mär. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!