plot3 not functioning
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Star Strider
il 31 Mar 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 Commenti
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!