Here are two approaches to getting the "x" and "y" coordinates from the "plotperform" function:
1) Before calling "plotperform", you would typically call a function like "train" that returns a "struct" (known as the "training record"), which should contain the numeric values you are looking for, as these are used by "plotperform" for plotting. To understand the structure of the "training record," you can access the specific documentation by executing the following command in the MATLAB R2020a command window:
>> web(fullfile(docroot, 'deeplearning/ref/network.train.html'))
2) Alternatively, if you would like to access the data after running "plotperform", you could use the "XData" and "YData" attributes of the "line" object. You would first have to get handles to the "line" objects. The following code snippet is a small example of how to do this:
[x,t] = bodyfat_dataset;
net = feedforwardnet(10);
[net,tr] = train(net,x,t);
plotperform(tr)
ax = gca;
h = findobj(ax,'Type','line');
x = h(6).XData;
y = h(6).YData
Please follow the link below to search for the required information regarding the current release: