Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9566 > unrolled thread
| Started by | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| First post | 2012-04-11 22:24 +0000 |
| Last post | 2012-04-13 09:07 +0000 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Replace a vertical line in ListPlot Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-04-11 22:24 +0000
Re: Replace a vertical line in ListPlot Ray Koopman <koopman@sfu.ca> - 2012-04-12 08:42 +0000
Re: Replace a vertical line in ListPlot "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-04-13 08:47 +0000
Re: Replace a vertical line in ListPlot rafapa <rafapa@us.es> - 2012-04-13 09:07 +0000
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Date | 2012-04-11 22:24 +0000 |
| Subject | Replace a vertical line in ListPlot |
| Message-ID | <jm50ae$2p1$1@smc.vnet.net> |
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@iee.lu
[toc] | [next] | [standalone]
| From | Ray Koopman <koopman@sfu.ca> |
|---|---|
| Date | 2012-04-12 08:42 +0000 |
| Message-ID | <jm64hc$6l2$1@smc.vnet.net> |
| In reply to | #9566 |
On Apr 11, 3:24 pm, Alexei Boulbitch <Alexei.Boulbi...@iee.lu> wrote:
> 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.boulbi...@iee.lu
ListPlot[Table[{k, 7./k}, {k, 12, 70, 1}], Frame->True, Axes->False]
[toc] | [prev] | [next] | [standalone]
| From | "Dr. Wolfgang Hintze" <weh@snafu.de> |
|---|---|
| Date | 2012-04-13 08:47 +0000 |
| Message-ID | <jm8p7a$ioo$1@smc.vnet.net> |
| In reply to | #9566 |
On 12 Apr., 00:24, Alexei Boulbitch <Alexei.Boulbi...@iee.lu> wrote:
> 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.boulbi...@iee.lu
>
>
Strange behaviour, indeed. You can even try to find the start of this
behaviour using decimal values for the PlotRange.
It seems that some internal automatic setting of the origin of the y-
axis is at work placing the axis at x.
You can see this setting Frame->False.
I suggest to use the option AxesOrigin->{0,0} to define things
clearly.
Then the line disappears.
Best regards,
Wolfgang
[toc] | [prev] | [next] | [standalone]
| From | rafapa <rafapa@us.es> |
|---|---|
| Date | 2012-04-13 09:07 +0000 |
| Message-ID | <jm8qbk$j9m$1@smc.vnet.net> |
| In reply to | #9566 |
On Apr 12, 12:24 am, Alexei Boulbitch <Alexei.Boulbi...@iee.lu> wrote:
> 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.boulbi...@iee.lu
Dear Alexi,
it's not a line it's an axis. Just try:
ListPlot[Table[{k, 7./k}, {k, 12, 70, 1}], Axes -> False,
Frame -> True]
Regards,
Rafael
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web