Re: Replace a vertical line in ListPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg126007] Re: Replace a vertical line in ListPlot
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Fri, 13 Apr 2012 04:43:19 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
On 4/11/12 at 6:20 PM, Alexei.Boulbitch at iee.lu (Alexei Boulbitch)
wrote:
>ListPlot[Table[{k, 7./k}, {k, 12, 70, 1}], Frame -> True]
>the plot shows a vertical solid line at k.
>Why does it appear? and How can I remove this line?
The vertical line that appears is the vertical axis. I don't
really know what algorithm Mathematica uses that causes an axis
to be displayed in ListPlot and determines where it will be
displayed. To remove it, simply add Axes->None as one of the
options for ListPlot.