CustomizeAxes

版本 1.0 (118.8 KB) 作者: Yair Altman
Live task to customize Matlab axes interactively
16.0 次下载
更新时间 2022/11/7

CustomizeAxes

Live task to customize Matlab axes interactively

Setup/usage as a live task

  1. Download the CustomizeAxes files to your computer
  2. Add the CustomizeAxes folder path to Matlab using the addpath function or the "Set Path" button in the Matlab Desktop toolstrip. If you use addpath, you need to ensure to run it in every Matlab session, otherwise the live task will not be accessible in the Editor.
  3. Run matlab.task.configureMetadata([folder '/CustomizeAxes']) in Matlab (replace folder with the CustomizeAxes path above)
  4. In the Matlab Editor, start a New Live Script, click the "Task" dropdown in the toolstrip, and ensure that you see the CustomizeAxes task: image
  5. Insert the live task into your live Matlab script by clicking the live task button. Here is a usage example: image
  6. 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.

image

引用格式

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 仓库