magnifyrecttofig

버전 1.0.0.0 (4.47 KB) 작성자: Andrew Diamond
Magnify contents of dragged rectangle to other figure.
다운로드 수: 2.5K
업데이트 날짜: 2005/4/28

라이선스 없음

편집자 메모: This file was a File Exchange Pick of the Week

Displays the contents of a displayed draggable rectangle on one axis of a source figure into an axis in a target figure. The difference in the screen size of the target axis and the size of the rectangle represents the magnification factor that the contents of the source rectangle will appear in the target figure.

Backwards compatible to R12.1 at least. Much smoother under R14x though.

Update of 3/29:
1) Put in arrow keys to have individual control over rectangle width and height
2) Saved size state of rectanglebetween drags and added 'r' key to restore default rectangle proportion (20% of axes)
3) Added 'm' key to toggle between maximizing target axis and having it be the original. Also, 'm' as argument to default to maximized vs orignal size.
4) Tried to fix wierd event timing bugs that would result in residual rectangles. The biggest fix came by disallowing the right mouse button.

인용 양식

Andrew Diamond (2024). magnifyrecttofig (https://www.mathworks.com/matlabcentral/fileexchange/7286-magnifyrecttofig), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Data Exploration에 대해 자세히 알아보기
도움

도움 받은 파일: magnify

도움 준 파일: On-figure magnifier, TACTICS Toolbox

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Bug fix to correct focus of window on first drag not being the source window which therefore didn't get keyboard input.
Added figurem.m to conviently install event handlers at "figure" time.