Plot “是否有限制?”;“等一下”;Matlab的功能?
我们制作了一个代码,将调用保存为图像的绘图 %这是我们用于绘图的Matlab代码Plot “是否有限制?”;“等一下”;Matlab的功能?,plot,Plot,我们制作了一个代码,将调用保存为图像的绘图 %这是我们用于绘图的Matlab代码 h=figure(2); set(gcf, 'Visible', 'off'); plot(minD2out,plotAngle,'*r','linewidth',3); xlabel('Depth (mm)') ylabel('Left ANGLE (degrees) Right') axis([0, 3000, -30, 30]) hold on; gr
h=figure(2); set(gcf, 'Visible', 'off');
plot(minD2out,plotAngle,'*r','linewidth',3);
xlabel('Depth (mm)')
ylabel('Left ANGLE (degrees) Right')
axis([0, 3000, -30, 30])
hold on;
grid on
print(h, '-dpng','PS2Plot.png');
//这是我们的C代码,用于调用使用Matlab保存为图像的绘图
button12.PerformClick();
ProcessStartInfo start = new ProcessStartInfo();
start.FileName = "C:\\Users\\Leno\\Desktop\\PS2 Final\\ThesisPS2FINAL.exe";
start.WorkingDirectory = "C:\\Users\\Leno\\Desktop\\PS2 Final";
start.WindowStyle = ProcessWindowStyle.Hidden;
start.CreateNoWindow = true;
您需要更清楚地了解哪些不起作用。绘图上的保留值不会显示在C的GUI中#