Reputation: 67
In the matlab workspace the output/results can be easily saved. But when I train the network with some data to see the performance of the training (In Neural Network Toolbox), the regression plots along with the histograms and performance plots can not be saved as a figure file.currently i am using snipping tools to capture them.
My Question is how to do that? Is there any options to save those plots(generated in Maltab Neural Network toolbox)?
I would be grateful to have any codes/ answers regarding my inquiry. Many thanks.
I am adding to snapshot of plots which i want to save by commanding codes in matlab.
currently i am using snipping tools but when i put then in word, their property/image quality shrinks.
Upvotes: 0
Views: 3276
Reputation: 1
If you mention about the quality of figures only, you can do it by clicking EDIT/COPY in the figure menu.
Upvotes: -1
Reputation: 1
The training figures other than nntraintool itself are genuine matlab figures. The tags are for example TRAINING_PLOTERRHIST TRAINING_PLOTPERFORM TRAINING_PLOTRESPONSE . the nntraintool figure is java--you can access it with nnjava.tools('nntraintool'). See Undocumented Matlab for how to manipulate java figures in Matlab.
Richard
Upvotes: 0
Reputation:
First of all you need to identify the gfx object you want to snap-shoot (its handle). This may come from identifiable properties. Then you'd want to use print
to save it to a file; you need to provide the file name, eventually the type; see the help for more details.
For example, if you want to save the figure with the tag 'my.awesome.fig', you may try:
h = findobj('Type', 'figure', 'tag', 'my.awesome.fig');
for k = 1:numel(h)
print(h(k), sprintf('Pic%d.ps',k));
end;
Upvotes: 0