MathGroup Archive 2006

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

Search the Archive

Re: Also force AxesOrigin to be in the lower right corner?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64601] Re: Also force AxesOrigin to be in the lower right corner?
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Thu, 23 Feb 2006 00:35:41 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 2/22/06 at 5:58 AM, jason.lee.quinn at gmail.com (Jason Quinn)
wrote:

>I want to force the x-axis to lie on the bottom of the graph
>regardless of a specific dataset. What's the best way to do this?
>I've been trying plotting the dataset and grabbing the lower-right
>corner of the plotrange with AbsoluteOptions. This works but seems
>absurdly complicated and I feel like I'm missing the forest for the
>trees. Is there a better way than this:

>firstplot = ListPlot[dataset, DisplayFunction -> Identity];
>ListPlot[dataset, AxesLabel -> {"x", "y"}, AxesOrigin ->
>{AbsoluteOptions[firstplot, PlotRange][[1, 2, 1, 1]],
>AbsoluteOptions[firstplot, PlotRange][[1, 2, 2, 1]]},
>DisplayFunction -> $DisplayFunction];

How about

ListPlot[dataset, 
    Axes -> None, 
    Frame -> {True, True, None, None}, 
    FrameLabel -> {"x", "y"}];
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Can't multiply non-square matrices.
  • Next by Date: Re: Can't multiply non-square matrices.
  • Previous by thread: Also force AxesOrigin to be in the lower right corner?
  • Next by thread: Re: Also force AxesOrigin to be in the lower right corner?