几个情节组合在一个图中(情节)

Several plotsomposes in one figure (Plot)

我已经创建了功能预测网络。有几个神经元,每个代表自己的功能块。

有没有办法在一个 图中(在子图中) 显示每个片段?

我知道,plotsompos 是为一个神经元做的,但它会产生很大的图形, 所以我不能每次都对 10-20 个神经元中的每一个都这样做。 我可以在

上构建 graphics
net.weights{} 

比如我自己?

如果你想在单个图中绘制多个图,你可以尝试 Subplot 函数

例如,这里有 4 个子图绘制在单个 window 中,其中 x 对 y1、y2、y3、y4:

x = linspace(-5,5);
y1 = sin(x);
subplot(2,2,1)
plot(x,y1)
title('First subplot')

y2 = sin(2*x);
subplot(2,2,2)
plot(x,y2)
title('Second subplot')

y3 = sin(4*x);
subplot(2,2,3)
plot(x,y3)
title('Third subplot')

y4 = sin(6*x);
subplot(2,2,4)
plot(x,y4)
title('Fourth subplot')