필터 지우기
필터 지우기

Problem with plotyy and grid

조회 수: 1 (최근 30일)
Adrien
Adrien 2012년 3월 13일
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

답변 (2개)

Jacob Halbrooks
Jacob Halbrooks 2012년 3월 13일
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 2012년 3월 19일
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

카테고리

Help CenterFile Exchange에서 Two y-axis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by