フィルターのクリア

how to double the data in x axis plot

1 回表示 (過去 30 日間)
Tino
Tino 2019 年 5 月 28 日
回答済み: sugga singh 2021 年 2 月 28 日
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

採用された回答

Monika Phadnis
Monika Phadnis 2019 年 5 月 29 日
x = [1000 2000 3000 4000 5000 6000];
plot(x*2,y_name); % y_name is variable name of your y-axis data

その他の回答 (1 件)

sugga singh
sugga singh 2021 年 2 月 28 日
thanks.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by