MATLAB: How to drew vertical black line drew vertical black line I want to drew vertical black line on the middle of 200×200 rectangle? Best Answer Use the line command.line([1,1],[0,2],'Color','k')draws a black line from (1,0) to (1,2), for example. Related SolutionsMATLAB: How to draw a vertical line with a given height For a line from (x,y) to (x,y+height), Use this:line([x x], [y y+height]);From origin it could just beline([0 0], [0 height]); MATLAB: Matlab: Vertical black line in bode diagram That seems to appear only for discrete systems (c2d with Ts for sampling), I can't find documentation about it but it appears related to the nyquist rate and the frequency value of the black line seems to be pi*1/Ts Related QuestionHow to plot an animated vertical lineUnwanted vertical black line in horizontal bar graphCan the default line thickness of imfreehand be changedThe relative vertical position of the smallest connected black componentDraw colored binary file
Best Answer