how to double the data in x axis plot
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tino
le 28 Mai 2019
Réponse apportée : sugga singh
le 28 Fév 2021
Hello
Please I have following plot on x axis : 1000, 2000, 3000, 4000, 5000, 6000
I want to double it so that it appears on graph; 2000, 4000, 6000, 8000, 10000, 120000
How do i do that?
Thank in advance
Regards
0 commentaires
Réponse acceptée
Monika Phadnis
le 29 Mai 2019
x = [1000 2000 3000 4000 5000 6000];
plot(x*2,y_name); % y_name is variable name of your y-axis data
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!