下列哪个选项表示画出的图形线条用红色表示的
A: plot(x,y,'b')
B: plot(x,y,'r')
C: plot(x,y,'g')
A: plot(x,y,'b')
B: plot(x,y,'r')
C: plot(x,y,'g')
A
举一反三
- 给曲线指明线型、颜色和标记的是( ) A: plot(x,y,'r:p') B: plot(x,y,[r:p]) C: plot(x,y,r:p) D: plot (x,y,(r:p) ]
- The equivalent commands in the following are ( ). A: line(x,y,'Color','r'); B: line(x,y,'r'); C: plot(x,y,'Color','r'); D: plot(x,y,'r');
- 下列命令中,正确的命令是( )。 A: line(x,y,'Color','r'); B: plot(x,y,'Color','r'); C: line(x,y,'r'); D: plot(x,y,'r');
- 下列命令中,等价的命令是( )。 A: line(x,y,'Color','r'); B: line(x,y,'r'); C: plot(x,y,'Color','r'); D: plot(x,y,'r');
- Among the following commands, which is not equivalent to the others that are equivalent to each other?( ) A: line(x,y,'Color','r'); B: line(x,y,'r'); C: plot(x,y,'Color','r'); D: plot(x,y,'r');
内容
- 0
plot(x,y,'r')给图形指定了()
- 1
plot函数绘制二维曲线,常用格式有: A: plot(x) B: plot(x, y) C: plot(x1, y1, x2, y2,…) D: plot(x, y, ‘s’)
- 2
下列命令中,除一条命令外其他三条命令等价,这一条命令是( )。? line(x,y,'Color','r');|line(x,y,'r');|plot(x,y,'Color','r');|plot(x,y,'r');
- 3
下列命令中,除一条命令外其他三条命令等价,这一条命令是()。 A: line(x,y,’Color’,’r’); B: line(x,y,’r’); C: plot(x,y,’Color’,’r’); D: plot(x,y,’r’);
- 4
绘制y=sinx的图像,应使用以下哪个命令( ) A: plot(x,sinx,’b’) B: plot(x,sin[x],’.’) C: plot(x,sin(x),’g’) D: fplot(x,sinx,’s’)