Plotting a Scatter Plot With Logarithmic Axes

조회 수: 120 (최근 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 CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by