how can I plot in a such a way the x axis is in interval 10 10E2 10E3 10E4.

1 回表示 (過去 30 日間)
SAHIL SAHOO
SAHIL SAHOO 2023 年 1 月 1 日
回答済み: Stephen23 2023 年 1 月 1 日
OrderParameter= [0.266 0.267 0.280 0.340];
Time = [10 1E2 1E3 1E4];
figure(1)
plot(Time,OrderParameter,'linewidth',2)
ylabel("OrderParameter")
xlabel("Time")
grid on
set(gca,'fontname','times New Roman','fontsize',18,'linewidth',1.8);

採用された回答

Stephen23
Stephen23 2023 年 1 月 1 日
Use SEMILOGX:
Y = [0.266,0.267,0.280,0.340];
X = [1e1,1e2,1e3,1e4];
semilogx(X,Y)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by