Borrar filtros
Borrar filtros

Getting plot axis to show all tick values

67 visualizaciones (últimos 30 días)
Scott
Scott el 18 de Ag. de 2011
I'm trying messing around with a bit of musical analysis (with the help of the MIR toolbox). I've got a pseudocolor plot showing the relative strengths of each possible chord (A, A#, B.....G# each being either major, minor or seven chord).
Once I have the plot though, it only shows every 5th or 6th value. If I zoom in, it will show up. But I would like to be able to see the entire plot with all values.
I tried changing the fontsize to smaller, but it made no difference.
Any help would be very much appreciated.

Respuestas (1)

BF83
BF83 el 18 de Ag. de 2011
Are you using a simple plot-command?
Then you can set your Y-Ticks manually by:
set(gca, 'YTick', [Vector of your custom y-Ticks])
Hope this helps.
  6 comentarios
Scott
Scott el 23 de Ag. de 2011
Worked perfectly. Thanks very much!!
Oleg Komarov
Oleg Komarov el 23 de Ag. de 2011
Please accept this answer if it solved your problem.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by