Borrar filtros
Borrar filtros

Problem with plotyy and grid

1 visualización (últimos 30 días)
Adrien
Adrien el 13 de Mzo. de 2012
Hello everyone,
I have a problem with plotyy function. Because, when my figure appear, I want the make a zoom on it, but when I use zoom tool, the scale of x and y axes not update. As you know, in plot function, when you make a zoom, Matlab update y ticks to have more ticks !! When I use classical plot that's working well !! why ??
Thanks very much

Respuestas (2)

Jacob Halbrooks
Jacob Halbrooks el 13 de Mzo. de 2012
It looks like zooming in a PLOTYY axes is known to be problematic and lead to tick marks disappearing. If this functionality is important to you, I'd suggest trying the PLOTYY or ZOOM utilities contributed to the File Exchange.

Adrien
Adrien el 19 de Mzo. de 2012
With zoom utilities, that works better, but the problem is not on Plotyy function (after some test) that's because of xticks which are in date format, that's why when I want to zoom in that don't work. Now I use zoomAdaptiveDateTicks, that works but I can't change the date ticks format, like 'yyyy:mm:dd HH:MM:SS'. If someone know how to do that ??
Thanks

Categorías

Más información sobre Two y-axis 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