Azzera filtri
Azzera filtri

Problem with plotyy and grid

1 visualizzazione (ultimi 30 giorni)
Adrien
Adrien il 13 Mar 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

Risposte (2)

Jacob Halbrooks
Jacob Halbrooks il 13 Mar 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 il 19 Mar 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

Categorie

Scopri di più su Two y-axis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by