Plotting a Scatter Plot With Logarithmic Axes

206 ビュー (過去 30 日間)
Gabriel Bourget
Gabriel Bourget 2014 年 3 月 30 日
コメント済み: Umut Kamisli 2018 年 4 月 2 日
I'm currently doing some simulation work for a physics honours project and I have data generated into vectors that I'd like to plot. I've read up on the scatter() function, but haven't seen how to plot any of those axes in a logarithmic fashion. I was wondering if anyone knew if the scatter() function had this functionality or not?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 3 月 30 日
scatter(1:10,1:10)
set(gca,'xscale','log')
  2 件のコメント
Gabriel Bourget
Gabriel Bourget 2014 年 3 月 31 日
Thanks! This was super helpful. My graphs look a lot better now.
Cheers, mate
Umut  Kamisli
Umut Kamisli 2018 年 4 月 2 日
Great! Thanx a lot!!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by