marking points
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
is it possible to draw graps for teo sets of data using plot command,in y axis the datas are there corresponding to that the points should be marked
datas
A=[12 34 90 45]
B=[0 8 9 36]
please help
2 Commenti
Jan
il 11 Nov 2011
I do not understand the question. What are teo sets? Do you mean "two"? What does "marking" mean?
Image Analyst
il 11 Nov 2011
Yes, very sloppy. People should take some time and effort into their questions if they expect us to. Perhaps he just want to plot A and B on the same graph. If so, FIR has been around long enough to know about "plot" and "hold on" and other such commands.
Risposta accettata
Artur M. G. Lourenço
il 11 Nov 2011
A=[12 34 90 45];
B=[0 8 9 36];
C = [ 1 2 3 4];
plot(A,B,'b')
hold on
plot(A,C,'r')
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!