logzplot

版本 1.2.0.0 (9.4 KB) 作者: John Barber
Easily create surface plots with logarithmic z-axis and color scale.
1.7K 次下载
更新时间 2012/5/31

查看许可证

LOGZPLOT is an easy way to create surface plots with both a log-scaled z-axis and log-scaled coloring. LOGZPLOT creates a plot using SURF, MESH, IMAGE, PCOLOR, TRISURF or TRIMESH, then applies the logarithmic transformation. If called without data inputs, LOGZPLOT will apply the logarithmic scaling to an existing surface plot.

Although creating a plot like LOGZPLOT's output is easy to do from the command line, getting a colorbar to display the correct data range requires some additional scaling of the color data. LOGZPLOT automatically scales the color data so that a colorbar will have a scale corresponding to the input data, even after changing the axes' 'CLim' property. To do this, LOGZPLOT attaches a listener function to the axes that corrects the color data scaling whenever the 'CLim' property changes. This allows the user to specify 'CLim' values in the normal units of the original data.

See the help text for additional information and examples.

引用格式

John Barber (2024). logzplot (https://www.mathworks.com/matlabcentral/fileexchange/29317-logzplot), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

- Added support for plots using IMAGE
- Added colorbar handle output
- Fixed CLim equality test bug

1.1.0.0

- Added support for trisurf and trimesh plots
- Improved speed and memory performance
- Improved colorbar support

1.0.0.0