Duplicate X-axes

Creates duplicate X-axes for a figure, using an input function.

You are now following this Submission

The function duplicateX creates duplicate X-axes for a figure, the new axes relationship to the original axes is determined by input function.
An auto update when zooming, for the duplicate axes, is allso available using version 7.5 (R2007B).

The function fig_create adds menubar item 'duplicate X-axes' to the figure menubar.
See help to set this function as the default figure creations function.

Cite As

Elad Goshen (2026). Duplicate X-axes (https://www.mathworks.com/matlabcentral/fileexchange/18574-duplicate-x-axes), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

1. Adding examples to the help lines.
2. Makes the function compatible to older MATLAB versions.