Clone figure in Matlab - with properties and data

后端 未结 3 2167
粉色の甜心
粉色の甜心 2021-02-20 08:53

I write a script in matlab, which produces figures out a set of data.

The figures are supposed to rather similar with respect to formating, and each of them is ought to

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-20 09:38

    A convenient way to generate a function that sets all the parameters such that the figure (as in @gnovice's post) will look just right is to create the first figure with all the data (including the 3D points) and all the formatting, and then choose from the FILE-menu the command GENERATE M-FILE... (have a look at the tutorial linked here).

    This creates a function that you can save on the Matlab path, and which you can later call with new input to create an exact clone of the first figure with new data.

提交回复
热议问题