Hello, Could anyone tell me how to generate equally-spaced lines parallel to y-axis? Just like comb generation as shown in the attached file. I tried to generate using the following code, however, no success:
% code
lambda= [1.52:0.002222:1.58]; % x-axis
for m=722:749;k[m]=2*3.8*150./m;endy=0:0.01:1;plot(lambda*ones(size(y)), y, 'LineWidth', 1)xlabel('\lambda (\mum)','FontSize',16);ylabel('Y','FontSize',16);
Best Answer