Borrar filtros
Borrar filtros

How to: xtick visibility

1 visualización (últimos 30 días)
Hello kity
Hello kity el 16 de En. de 2013
Hi
how can i make xtick line visible: example, at 6 it is visible, but where there is data it is not...

Respuesta aceptada

José-Luis
José-Luis el 16 de En. de 2013
Editada: José-Luis el 16 de En. de 2013
figure(1);
aH = axes;
hist(randn(1,1000));
set(aH,'TickDir','out');
Alternatively:
figure(2);
aH = axes;
hist(randn(1,1000));
h = findobj(aH,'Type','patch');
set(h,'facealpha',0.5)
  2 comentarios
Hello kity
Hello kity el 16 de En. de 2013
Editada: Hello kity el 16 de En. de 2013
first one did it, not what i was asking but lines below the axis is also fine :)
thank you
José-Luis
José-Luis el 16 de En. de 2013
My pleasure.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Object Identification 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