I'm plotting a spectrogram in Matlab and have been editing the axis properties, colormap, and a few other things manually by hand in the Figures editor ("Edit > Colormap or Axis Properties...").
Is there a way to generate/view the code that is creating the plots from the Figure Editor? I could/should dig around some more to see what the calls are to show/fix the color bar and the color map, but it would be really nice to just see the code exactly how I've edited it through the Figure editor. Is this possible?
inspect(your_figure_handle)
orinspect(your_axes_handle)
to get a list of all properties. You can edit them and you directly see what have changed. And later on you can just do the same byset(handle,property,newValue)
. – Robert Seifert