如何保存Matlab神经网络工具箱生成的数字 [英] how to save matlab neural networks toolbox generated figures

查看:641
本文介绍了如何保存Matlab神经网络工具箱生成的数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在matlab工作区中,可以轻松保存输出/结果.但是当我用一些数据训练网络以查看训练的性能时(在神经网络工具箱中),回归图以及直方图和性能图无法保存为图形文件.他们.

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.

我的问题是怎么做?是否有任何选项可以保存这些图(在Maltab神经网络工具箱中生成)?

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.

我正在添加要通过在Matlab中命令代码保存的图的快照.

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.

推荐答案

首先,您需要确定要捕捉的gfx对象(其句柄).这可能来自可识别的属性.然后,您想使用print将其保存到文件中;您需要提供文件名,最后是类型;有关更多详细信息,请参见帮助.

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.

例如,如果要使用标签"my.awesome.fig"保存该图形,则可以尝试:

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;

这篇关于如何保存Matlab神经网络工具箱生成的数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆