Plotting a Scatter Plot With Logarithmic Axes

210 visualizaciones (últimos 30 días)
Gabriel Bourget
Gabriel Bourget el 30 de Mzo. de 2014
Comentada: Umut Kamisli el 2 de Abr. de 2018
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?

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 30 de Mzo. de 2014
scatter(1:10,1:10)
set(gca,'xscale','log')
  2 comentarios
Gabriel Bourget
Gabriel Bourget el 31 de Mzo. de 2014
Thanks! This was super helpful. My graphs look a lot better now.
Cheers, mate
Umut  Kamisli
Umut Kamisli el 2 de Abr. de 2018
Great! Thanx a lot!!!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by