Plotting a line x=constant
329 views (last 30 days)
What is a good way to plot a straight line parallel to y-axis for a particular x value?
I've used this code but the line is dotted
y=0:0.001:0.3; %How much is long
plot(x, y, 'LineWidth', 10) % but is not large enough