你好,还可以点击文件->generate code,然后修改legend,xlabel,ylabel等等,保存为createFit.m后,直接在命令行输入createFit(x,y)即可得到拟合曲线。但是,直接在curve fitting中修改是不现实的,你都说了,要print to figure,因为这个figure对象在curve fitting中是无法编辑的,只有print到figure图像才能编辑