FIG2CFTOOL

版本 1.0.0.0 (1.8 KB) 作者: Nick Sinclair
Takes lines plotted in figure and puts them into cftool.
2.0K 次下载
更新时间 2010/7/7

查看许可证

Grabs the lines from current figure or figurehandle passed as parameter and passes them into cftool.
Luckily, sequential calls to cftool(xdata,ydata) simply adds that data to cftool gui, so this was easy, but I thought I'd save someone else like me (that didn't want to install EzyFit) the trouble.

The variable name of ydata is set to the 'DisplayName' property of the line because that seems to be the easiest way to set the data set name. Actually changing the display name of the lines in the cftool axis doesn't work because the gui just resets it to the 'ydatavariablename vs xdatavariablename'.

Thanks to those of you that post helpful bits of code. Especially the person I stole the method to access the cftool axes from (cited in script).

Cheers.

引用格式

Nick Sinclair (2024). FIG2CFTOOL (https://www.mathworks.com/matlabcentral/fileexchange/28146-fig2cftool), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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