Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9662

Re: Replace a vertical line in ListPlot

From Alexei Boulbitch <Alexei.Boulbitch@iee.lu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Replace a vertical line in ListPlot
Date 2012-04-16 10:12 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jmgrb6$pmu$1@smc.vnet.net> (permalink)

Show all headers | View raw


I received a number of answers to my question, all of them very helpful. I am very much grateful to all of you for them.
Alexei



Alexei,

It's a matter of Mathematica adaptively choosing where to put the Axes,
which you probably thought were banished because you had used Frame -> True.
But Mathematica allows a Frame AND Axes.

So just add the Option Axes -> None.

ListPlot[Table[{k, 7./k}, {k, 12, 70, 1}], Frame -> True,
 Axes -> None]


#David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/index.html


From: Alexei Boulbitch [mailto:Alexei.Boulbitch at iee.lu]


Dear community,

I am making a ListPlot with the Frame->True option. Here is a simplified
example showing the feature in question:

ListPlot[Table[{k, 7./k}, {k, 10, 70, 1}], Frame -> True]

It is everything fine with this plot as soon as the table starts with k=10.
However, if the table starts with k=12 instead of 10, like here:

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?

Thank you, Alexei

Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch at iee.lu


Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch@iee.lu



Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Replace a vertical line in ListPlot Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-04-16 10:12 +0000

csiph-web