changeloglabels v3

バージョン 1.2.0.0 (1.88 KB) 作成者: Jeffrey
Alters log labels to linear (10^1.45 to 28..). Remakes for zoom/pan. Automatically runs.
ダウンロード: 654
更新 2009/9/22

ライセンスの表示

The function will change all the axes that have log labels (10^XX) to linear labels while still maintaining the log spacing. It will remake the labels when the zoom in/out and pan functions are used.

This is particularly useful for frequency plots.

Update: This function no longer needs to be actively called. Place the following commands in you startup file:

set(0,'DefaultFigureCreateFcn','set(zoom,''ActionPostCallback'',''changeloglabels'');set(pan,''ActionPostCallback'',''changeloglabels'')')
set(0,'DefaultAxesCreateFcn','proplistener(gca,{''XScale'',''YScale''},''PostSet'',''changeloglabels'')')

Whenever a plot is made with log axes, this code will automatically run.

Note: This usage requires that you have proplistener.m, I.D. 18301

引用

Jeffrey (2024). changeloglabels v3 (https://www.mathworks.com/matlabcentral/fileexchange/25384-changeloglabels-v3), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2006b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersAxis Labels についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

Reset labels to auto for when switching back to linear units.

1.0.0.0