MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to remove unwanted, garbage plotmarkers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125559] Re: How to remove unwanted, garbage plotmarkers
  • From: JUN <noeckel at gmail.com>
  • Date: Mon, 19 Mar 2012 04:54:08 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jjrv8k$9ga$1@smc.vnet.net>

On Wednesday, March 14, 2012 10:38:28 PM UTC-7, Myeong Ae Kang wrote:
> I'm enclosing an example.
>
> ListLogPlot[{{{1, 4}, {5, 4*5}, {10, 4*10}}, {{1, 1}, {5, 5}, {10,
>     10}}}, Joined -> True,
>  PlotMarkers -> {\[EmptyCircle], \[EmptyUpTriangle]},
>  PlotRange -> {{0, 10}, {2, 40}}, PlotRangeClipping -> False]
>
> In this example, there is the problematic plotmarker on the X-axis in the plot.
>
>
> I found a similar post to this. But, "Show" with "ListLogPlot" and "PlotRange" doesn't work with this.
>
> Help me.

The workaround for this bug that you mentioned would be:

Show[ListLogPlot[{{{1, 4}, {5, 4*5}, {10, 4*10}}, {{1, 1}, {5,
     5}, {10, 10}}}, Joined -> True,
  PlotMarkers -> {\[EmptyCircle], \[EmptyUpTriangle]},
  PlotRangeClipping -> False], PlotRange -> {{0, 10}, {0, Log[40]}}]

In other words, the trick to add the PlotRange afterwards using show still works, but you have to adjust the range by replacing the maximum 40 with Log[40].

It's a little confusing because ListLogPlot displays a vertical scale that doesn't really reflect the plot range. So we're being tricked here. To see this, one can check AbsoluteOptions[logPlot, PlotRange] where logPlot is the original logarithmic plot in your post. It's really inconsistent...

Jens



  • Prev by Date: Re: Mathematica results different on different computers !
  • Next by Date: Re: Export Data and Decimal Separator
  • Previous by thread: Re: How to remove unwanted, garbage plotmarkers
  • Next by thread: Re: How to remove unwanted, garbage plotmarkers