[EXCEL] Add a vertical line perpendicular to the x-axis in a line chart | Draw a graph

Related links: Add vertical vertical lines in excel
How to add horizontal and vertical lines in Excel?
Because I am not used to adding auxiliary columns, and there is already a quantile abscissa, I thought I would try using the error lines of a scatter plot


Rendering:

Insert image description here


step:

s1: Select two columns of data at random –>Insert (–>Chart)–>Create a custom combination chart, select line chart and scatter chart as the chart type

Insert image description here
Insert image description here

s2: Click on the chart ->Edit "Series 2" as shown in the figure ("X-axis series value" is the 0.5 quantile value) ->Edit "Series 1" (line) as the desired data

Insert image description here
Insert image description here

s3: Click on the scatter point –> plus sign in the upper right corner –> error bars (don’t check it yet) –> more options

Insert image description here

s4: Select "Negative Deviation"->"Wireless End"->"Percent"-fill in 100%

ps: See clearly that it is a vertical error bar rather than a horizontal error bar.
Insert image description here

Insert image description here

s5: Click "Oil Barrel" –>Width 1.25 –>Dash Type –>Select dotted line (or other)

Insert image description here

s6: Click Scatter –>“Mark”–>“Mark Options”–>“None”

Insert image description here

s7: There is a horizontal bar on the last scatter point. You can click the scatter point repeatedly until "Set Error Bar Format" and "Horizontal Error Bar" appear in the right window, and change the fixed value to 0

Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/qq_50653422/article/details/134867276