Filter löschen
Filter löschen

Problem with plotyy and grid

1 Ansicht (letzte 30 Tage)
Adrien
Adrien am 13 Mär. 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

Antworten (2)

Jacob Halbrooks
Jacob Halbrooks am 13 Mär. 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 am 19 Mär. 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

Kategorien

Mehr zu Two y-axis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by