Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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.
Citation pour cette source
Nick Sinclair (2026). FIG2CFTOOL (https://fr.mathworks.com/matlabcentral/fileexchange/28146-fig2cftool), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0.0 (1,81 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 |
