📜  如何在 scilab 中添加图形标签 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:14.476000             🧑  作者: Mango

代码示例1
t = linspace(-2*%pi, 2*%pi, 30);

subplot(2,1,1);
plot(t, sin(t), "r");
xlabel("t", "fontsize", 2);
ylabel("sin(t)");
axis1_handle = gca();

subplot(2,1,2);
plot(t, cos(t), "b");
xlabel("t", "fontsize", 2);
ylabel("cos(t)", "fontsize", 6, "color", "blue");

ylabel(axis1_handle, "sin(t)", "fontsize", 6, "color", "red");