PLOTTING THE GIVEN VALUES
Afficher commentaires plus anciens
Hi all,
I am trying to plot four given values on matlab.
the values are
t = 0;
ta = 0.63;
tb = 0.71;
tc = 0.5;
Could anybody advice how can this been plotted on matlab?
It's been a long time I've used matlab, and I have lost the touch of the commands.
Thanks in advacne for those who oculd help.
5 commentaires
Jos Jordan
le 6 Fév 2021
I don't understand - how would you like to plot them?
The scatter() function could work, but what variables are on the axes and how are they related to the variables you have given?
bagya vivekanandhan
le 6 Fév 2021
Jos Jordan
le 6 Fév 2021
So do you mean of an y/x graph, each point would have the value
t = [0, 0];
ta = [0.63, 0.63];
tb = [0.71, 0.71];
tc = [0.5, 0.5];
or am I misunderstanding the question?
bagya vivekanandhan
le 6 Fév 2021
Cris LaPierre
le 6 Fév 2021
Réponse acceptée
Plus de réponses (1)
Jos Jordan
le 6 Fév 2021
Given that:
t = [0, 0];
ta = [0.63, 0.63];
tb = [0.71, 0.71];
tc = [0.5, 0.5];
you could then set
x = [0, 0.63, 0.71, 0.5];
x = y;
plot(x,y);
and then use the property inspector to play around until you make it look as you want to.
Catégories
En savoir plus sur Graphics Performance dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
