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

• To: mathgroup at smc.vnet.net
• Subject: [mg64578] Re: Also force AxesOrigin to be in the lower right corner?
• From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
• Date: Thu, 23 Feb 2006 00:34:12 -0500 (EST)
• Organization: Uni Leipzig
• References: <dthhlk\$ng2\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Hi,
and
what does:
data = Table[{x, Sin[x]}, {x, 0, 2Pi, 2Pi/128}];

ListPlot[data, AxesOrigin -> Min /@
Transpose[N[data]], Frame -> False];

Regards

Jens

"Jason Quinn" <jason.lee.quinn at gmail.com> schrieb
im Newsbeitrag news:dthhlk\$ng2\$1 at smc.vnet.net...
|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];
|
| Jason
|

```

• Prev by Date: Re: Also force AxesOrigin to be in the lower right corner?
• Next by Date: Re: Matrix multiplication problem fixed via dot operation.
• Previous by thread: Re: Also force AxesOrigin to be in the lower right corner?
• Next by thread: Re: Also force AxesOrigin to be in the lower right corner?