一、正体
bash
x = linspace(0,pi);
y1 = cos(x);
plot(x,y1,'r')
xlabel('X')
ylabel('right Y-axis');
二、斜体
bash
x = linspace(0,pi);
y1 = cos(x);
plot(x,y1,'r')
xlabel('\itX')
ylabel('\itright Y-axis');