Linked Questions

11 votes
3 answers
9k views

The following code produces the graph of $f(x)=\frac{1}{x-1}$ correctly. ...
Jon's user avatar
  • 213
4 votes
2 answers
5k views

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 -> ...
Jamai-Con's user avatar
  • 183
0 votes
1 answer
2k views

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 ...
grading's user avatar
  • 261
1 vote
2 answers
853 views

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: ...
Sath's user avatar
  • 11
0 votes
1 answer
212 views

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" ...
Lemon's user avatar
  • 641
1 vote
0 answers
39 views

I am performing a text analysis on C.S. Lewis's book The Lion, the Witch, and the Wardrobe. I have created the following analysis of textual occurences of Aslan or Lion, Peter, Lucy, Edmund, Susan, ...
Peter Burbery's user avatar
14 votes
4 answers
975 views

I have been working with Sparklines, thanks to some code found here. Here is what I am using: ...
canadian_scholar's user avatar
18 votes
4 answers
4k views

I need to add custom (vertical) grid lines to a plot (to a DateListPlot, to be precise). I know there is the option of ...
Bernd's user avatar
  • 975
7 votes
2 answers
2k views

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: <...
alancalvitti's user avatar
  • 15.3k
2 votes
2 answers
2k views

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) ...
mattiav27's user avatar
  • 6,991
5 votes
2 answers
767 views

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 ...
MOON's user avatar
  • 3,926
1 vote
1 answer
2k views

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 ...
StarBucK's user avatar
  • 2,224
3 votes
2 answers
2k views

If I have the following code: ...
John's user avatar
  • 1,651
3 votes
1 answer
3k views

Based on this answer I am able to draw dotted or dashed vertical lines in a plot using Epilog. For example (from the answer I linked) ...
user129412's user avatar
  • 1,339
2 votes
1 answer
87 views

I have the following Mathematica code. I want you to draw a vertical line at π/2, but without using GridLines -> {{Pi/2}, None}, because the line does not appear ...
Kώστας Κούδας's user avatar