plotting problem
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have some problem with plotting, the listing is like this:
for d=1:1:100;
p=10^(-10);
a(d)=100*(10^6)*d/(2*(10^8)*12208);
u_gb(d)=(1-p)/(1+2*a(d)*p);
x(d)=d;
end
plot(x,u_gb);
those u_gb has very small data, its between 0.999999999899181 to 0.999999999899992. if I plot it, we will see straight horizontal line in the graph. Because of that, we can't see that u_gb 's value has changed
How to make this line more tilted or oblique, so that we can see that the data of u_gb is changed
0 commentaires
Réponse acceptée
Plus de réponses (2)
Ali Can
le 21 Fév 2012
It may help to make the data points visible in the graph.
plot(x,u_gb,'.-')
0 commentaires
Voir également
Catégories
En savoir plus sur Line Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!