Вы можете быть более точным в своем вопросе, но вот пример с простым plot
.Это должно быть то же самое с boxplot
.Все дело в том, чтобы заводить детей.
open myfig.fig; % open your fig file
h = gca; % get the handle of the current axes
hPlot = h.Children; % The children of the axes should be the plot line
XData = hPlot.XData;
YData = hPlot.YData;