13 questions linked to/from How to add a vertical line to a plot
6k views

### Plotting Vertical Asymptotes [duplicate]

The following code produces the graph of $f(x)=\frac{1}{x-1}$ correctly. ...
572 views

### Adding a red horizontal line to my plot [duplicate]

I have a list of numbers which I have named "result" and which I modify according to certain rules. At the end of the routine, I plot the list with the command: ListPlot[result, PlotRange -> ...
488 views

### How to Plot Vertical Asymptote [duplicate]

How can I plot the vertical asymptote x=3 for this function: f(x)=Log2(x-3) This is what I have tried so far: ...
217 views

### How to plot a vertical line with fixed range? [duplicate]

I want to plot a vertical line on a graph. The plot range on the graph ranges from 0 - 12. I want the vertical line at x-axis = 0.8, but the vertical height going from 0 to 7 only. I am not sure how ...
130 views

### can someone how to plot $x = c$ in a different color scheme? [duplicate]

Exactly as title says. I do not know why I am having so much trouble with this. I have googled many solutions and I cannot find a straightforward answer. Also, the only method I know is "Gridlines" ...
865 views

### Adding Lines to Sparklines (plots w/o frames, axes, etc.)

I have been working with Sparklines, thanks to some code found here. Here is what I am using: ...
3k views

### Adding custom GridLines to the “automatic” ones

I need to add custom (vertical) grid lines to a plot (to a DateListPlot, to be precise). I know there is the option of ...
2k views

### How to insert guide-lines in graphics without specifying range?

Is it possible to insert guide lines in Graphics - for example a horizontal line through y=0 coordinate without specifying the range of the line? Originally I assumed Infinity might do the trick: <...
699 views

### How do I add a vertical thick line to log-log plots?

How do I add a vertical thick line to my ListLogLogPlot? I tried with the following code (a minimal non working example), but I get an error (the plot becomes pink) ...
500 views

### How to add the position of an added vertical line to the plot itself?

In this question it is answered how to add a vertical line to a graph. However, it has not been shown that how can someone add the position of that vertical line to the axis. How can I add the ...
482 views

### I don't understand the Epilog function

I had the same question as How to add a vertical line to a plot and I have read the first answer using the Epilog function. This answer solved my problem and my code is now working. However, I don't ...