Axis XX

版本 2.6.0.0 (26.1 KB) 作者: Luke Plausin
Add multiple X or Y axes to plots, rescale data, use any function, add data tips, zoom, flexible.
2.1K 次下载
更新时间 2015/12/10

This package will allow you to plot data on multiple X or Y axis. Similar to MATLAB's own plotyy function, but less limiting.
Features:
Create any combination of X or Y axes, plot multiple lines on each X or Y axis
Native argument styles and overloaded plot functions supported e.g:
axisyy(xdata, ydata, 'r-', 'LineWidth', 2, 'MarkerSize', 14);
axisyy(TimeSeriesObject, 'b-', 'LineWidth', 3);
Use any plotting function you specify (plot, line, patch, etc)
Set the limits of every axis independently
Ability to update xdata/ydata directly without thinking about the transformation
Compatible with MATLAB's zoom, pan and data cursor tools
Figure is resizeable and rescales objects around colorbars if they are present
The code has been completely rewritten using an object oriented approach.
Originally inspired by AddAxis 5 by Harry Lee

Check the example.m file for some quick tips.

If you find any bugs or have suggestions please write in the comments box or message me. If the submission was helpful, then please rate it.

引用格式

Luke Plausin (2024). Axis XX (https://github.com/lukeplausin/axis_xx_matlab), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Combine Multiple Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
2.6.0.0

Changed to GPL license. Reverted title back to Axis XX. Support for intermediate AddAxis 6 removed (message me if you need the old code)

2.5.0.0

Moved the code to Github

2.4.0.0

Added compatiability for semilogy semilogx and reverse direction ticks
Added example of subplots (of sorts)
Improved axis scaling - FigureResizeFcn now available to user

2.3.0.0

Additional axis background colours will now dynamically match those of the container.
Updated description
Updated file description

2.2.0.0

Fixed a minor bug in the zoom routine. Improved figure resizing

2.1.0.0

Fixed an error in the datatips
Fixed an error preventing the figure from resizing after an additional axis is deleted

2.0.0.0

Changed image
Complete overhaul of code
New class interface not compatiable with AddAxis6 - old code included for legacy users
You can now plot on any combination of X or Y axis

Known issues -
Not yet compatiable with subplot semilog or loglog

1.3.0.0

Removed redundant .m files from package and updated the readme file. Better datatip text. Updated screenshot

1.2.0.0

Source code mods to fix a couple of bugs

1.1.0.0

Edited description

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库