CustomizeAxes
Live task to customize Matlab axes interactively
Setup/usage as a live task
- Download the CustomizeAxes files to your computer
- Add the CustomizeAxes folder path to Matlab using the
addpath
function or the "Set Path" button in the Matlab Desktop toolstrip. If you useaddpath
, you need to ensure to run it in every Matlab session, otherwise the live task will not be accessible in the Editor. - Run
matlab.task.configureMetadata([folder '/CustomizeAxes'])
in Matlab (replacefolder
with the CustomizeAxes path above) - In the Matlab Editor, start a New Live Script, click the "Task" dropdown in the toolstrip, and ensure that you see the CustomizeAxes task:
- Insert the live task into your live Matlab script by clicking the live task button. Here is a usage example:
- Whenever the customization code changes (when you modify any of the UI controls or the axes directly), the variable
code
in the base Matlab workspace is updated with the necessary customization commands. You can also view/copy this code from the source-code panel beneath the live task's UI controls panel.
Running as a standalone dialog window
CustomizeAxes can also run as a standalong window, using the syntax CustomizeAxes(haxes)
, where hAxes is the requested axes handle.
You can also run CustomizeAxes()
without an axes handle, allowing you to interactively select the requested axes.
인용 양식
Yair Altman (2024). CustomizeAxes (https://github.com/altmany/CustomizeAxes/releases/tag/v1.0), GitHub. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2022b
R2022a 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0 |
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.