Plotting a Scatter Plot With Logarithmic Axes

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일

14 개 추천

scatter(1:10,1:10)
set(gca,'xscale','log')

댓글 수: 2

Thanks! This was super helpful. My graphs look a lot better now.
Cheers, mate
Great! Thanx a lot!!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

질문:

2014년 3월 30일

댓글:

2018년 4월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by